Fix unset ZapRelocationType for fixup (#18589)
[platform/upstream/coreclr.git] / Tools / BlockReflectionAttribute.cs
1 /*
2   Providing a definition for __BlockReflectionAttribute in an assembly is a signal to the .NET Native toolchain 
3   to remove the metadata for all non-public APIs. This both reduces size and disables private reflection on those 
4   APIs in libraries that include this. The attribute can also be applied to individual public APIs to similarly block them.
5   This file is consumed by Build.Common.Targets.
6 */
7
8 using System;
9
10 namespace System.Runtime.CompilerServices
11 {
12     [AttributeUsage(AttributeTargets.All)]
13     internal class __BlockReflectionAttribute : Attribute { }
14 }