diff --git a/src/coreclr/nativeaot/Runtime.Base/src/System/AttributeTargets.cs b/src/coreclr/nativeaot/Runtime.Base/src/System/AttributeTargets.cs index 37f5d151709e85..7b46cbf3f0783a 100644 --- a/src/coreclr/nativeaot/Runtime.Base/src/System/AttributeTargets.cs +++ b/src/coreclr/nativeaot/Runtime.Base/src/System/AttributeTargets.cs @@ -6,7 +6,7 @@ namespace System // Enum used to indicate all the elements of the // VOS it is valid to attach this element to. - internal enum AttributeTargets + public enum AttributeTargets { Assembly = 0x0001, Module = 0x0002, diff --git a/src/coreclr/nativeaot/Runtime.Base/src/System/AttributeUsageAttribute.cs b/src/coreclr/nativeaot/Runtime.Base/src/System/AttributeUsageAttribute.cs index 7c2ac82d779c4d..63e45d4a4753d8 100644 --- a/src/coreclr/nativeaot/Runtime.Base/src/System/AttributeUsageAttribute.cs +++ b/src/coreclr/nativeaot/Runtime.Base/src/System/AttributeUsageAttribute.cs @@ -14,7 +14,7 @@ namespace System { /* By default, attributes are inherited and multiple attributes are not allowed */ [AttributeUsage(AttributeTargets.Class, Inherited = true)] - internal sealed class AttributeUsageAttribute : Attribute + public sealed class AttributeUsageAttribute : Attribute { //Constructors public AttributeUsageAttribute(AttributeTargets validOn) diff --git a/src/coreclr/tools/aot/ILCompiler.Compiler.Tests/ILCompiler.Compiler.Tests.Assets/ILCompiler.Compiler.Tests.Assets.csproj b/src/coreclr/tools/aot/ILCompiler.Compiler.Tests/ILCompiler.Compiler.Tests.Assets/ILCompiler.Compiler.Tests.Assets.csproj index 605d407443da2a..ea167e092b0318 100644 --- a/src/coreclr/tools/aot/ILCompiler.Compiler.Tests/ILCompiler.Compiler.Tests.Assets/ILCompiler.Compiler.Tests.Assets.csproj +++ b/src/coreclr/tools/aot/ILCompiler.Compiler.Tests/ILCompiler.Compiler.Tests.Assets/ILCompiler.Compiler.Tests.Assets.csproj @@ -8,7 +8,6 @@ netstandard2.0 true - noRefSafetyRulesAttribute=true diff --git a/src/coreclr/tools/aot/ILCompiler.Compiler.Tests/ILCompiler.Compiler.Tests.csproj b/src/coreclr/tools/aot/ILCompiler.Compiler.Tests/ILCompiler.Compiler.Tests.csproj index b09ef313126615..5967b093841b15 100644 --- a/src/coreclr/tools/aot/ILCompiler.Compiler.Tests/ILCompiler.Compiler.Tests.csproj +++ b/src/coreclr/tools/aot/ILCompiler.Compiler.Tests/ILCompiler.Compiler.Tests.csproj @@ -14,7 +14,6 @@ x86;x64 AnyCPU true - noRefSafetyRulesAttribute=true