diff options
Diffstat (limited to 'src/mscorlib/src/System/Diagnostics/Eventing/EventDescriptor.cs')
-rw-r--r-- | src/mscorlib/src/System/Diagnostics/Eventing/EventDescriptor.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mscorlib/src/System/Diagnostics/Eventing/EventDescriptor.cs b/src/mscorlib/src/System/Diagnostics/Eventing/EventDescriptor.cs index 11b6e6bac2..116b50f86c 100644 --- a/src/mscorlib/src/System/Diagnostics/Eventing/EventDescriptor.cs +++ b/src/mscorlib/src/System/Diagnostics/Eventing/EventDescriptor.cs @@ -22,7 +22,9 @@ namespace System.Diagnostics.Tracing #endif { [StructLayout(LayoutKind.Explicit, Size = 16)] +#if !CORECLR [System.Security.Permissions.HostProtection(MayLeakOnAbort = true)] +#endif // CORECLR internal struct EventDescriptor { # region private |