2 writes to DisableEventSourceSpecialHandling
illink (2)
Linker.Steps\RootAssemblyInputStep.cs (1)
85
Context.
DisableEventSourceSpecialHandling
= false;
Linker\LinkContext.cs (1)
250
DisableEventSourceSpecialHandling
= true;
4 references to DisableEventSourceSpecialHandling
illink (4)
Linker.Dataflow\DynamicallyAccessedMembersTypeHierarchy.cs (1)
93
apply |= applyOptimizeTypeHierarchyAnnotations && (_context.
DisableEventSourceSpecialHandling
|| !BCL.EventTracingForWindows.IsEventSourceImplementation (type, _context));
Linker.Steps\MarkStep.cs (3)
1985
if ((!Context.
DisableEventSourceSpecialHandling
|| Context.GetTargetRuntimeVersion () < TargetRuntimeVersion.NET6) && BCL.EventTracingForWindows.IsEventSourceImplementation (type, Context)) {
2121
case "EventDataAttribute" when attrType.Namespace == "System.Diagnostics.Tracing" && (!Context.
DisableEventSourceSpecialHandling
|| Context.GetTargetRuntimeVersion () < TargetRuntimeVersion.NET6):
2608
Debug.Assert (Context.GetTargetRuntimeVersion () < TargetRuntimeVersion.NET6 || !Context.
DisableEventSourceSpecialHandling
);