Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2018-03-03 01:41:55 +0300
committerMarek Safar <marek.safar@gmail.com>2018-03-03 01:41:55 +0300
commitb2264e18523274aa956c55c219729d3e43d3c93c (patch)
tree639a4c01466e34873f343d9a80a0da0e661ce177
parent0315dc0fdf3ba7876db7d430587c99b33ddc3ae5 (diff)
Hide ReflectionBlockedAttribute from public surface
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/CompilerServices/ReflectionBlockedAttribute.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/ReflectionBlockedAttribute.cs b/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/ReflectionBlockedAttribute.cs
index f80f7093e..5e01e09ca 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/ReflectionBlockedAttribute.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/ReflectionBlockedAttribute.cs
@@ -7,7 +7,10 @@ namespace System.Runtime.CompilerServices
// When applied to a type this custom attribute cause the type to be treated as reflection blocked.
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Delegate | AttributeTargets.Enum | AttributeTargets.Interface, Inherited = false, AllowMultiple = false)]
[DependencyReductionRoot]
- public class ReflectionBlockedAttribute : Attribute
+#if !MONO
+ public
+#endif
+ class ReflectionBlockedAttribute : Attribute
{
}
}