From c44678ca7b001f587c67461abde9472017f68fcc Mon Sep 17 00:00:00 2001 From: Stephen Toub Date: Thu, 17 Oct 2019 13:13:17 -0400 Subject: [PATCH] Annotate System.Runtime.CompilerServices.VisualC for nullable reference types (dotnet/corefx#41858) This assembly really doesn't matter for nullability, as it's only meant to be used with C++/CLI and only by infrastructure. There's also no annotations necessary on any of the contained attributes, as they are either parameterless or take a parameter that shouldn't be null. Even so, we may as well mark the assembly as being annotated, so that its status is appropriately reflected by tools. Commit migrated from https://github.com/dotnet/corefx/commit/57e30310253d9c720722f4363fb75e7df93efa67 --- .../ref/System.Runtime.CompilerServices.VisualC.csproj | 1 + .../src/System.Runtime.CompilerServices.VisualC.csproj | 1 + 2 files changed, 2 insertions(+) diff --git a/src/libraries/System.Runtime.CompilerServices.VisualC/ref/System.Runtime.CompilerServices.VisualC.csproj b/src/libraries/System.Runtime.CompilerServices.VisualC/ref/System.Runtime.CompilerServices.VisualC.csproj index b21fe1e8ca0132..0fba717a738613 100644 --- a/src/libraries/System.Runtime.CompilerServices.VisualC/ref/System.Runtime.CompilerServices.VisualC.csproj +++ b/src/libraries/System.Runtime.CompilerServices.VisualC/ref/System.Runtime.CompilerServices.VisualC.csproj @@ -1,5 +1,6 @@ + enable netcoreapp-Debug;netcoreapp-Release diff --git a/src/libraries/System.Runtime.CompilerServices.VisualC/src/System.Runtime.CompilerServices.VisualC.csproj b/src/libraries/System.Runtime.CompilerServices.VisualC/src/System.Runtime.CompilerServices.VisualC.csproj index fcec9fd651e3f4..902803134f4dd5 100644 --- a/src/libraries/System.Runtime.CompilerServices.VisualC/src/System.Runtime.CompilerServices.VisualC.csproj +++ b/src/libraries/System.Runtime.CompilerServices.VisualC/src/System.Runtime.CompilerServices.VisualC.csproj @@ -1,6 +1,7 @@ System.Runtime.CompilerServices.VisualC + enable netcoreapp-Debug;netcoreapp-Release