4 references to GetTargetRuntimeVersion
illink (4)
Linker.Steps\MarkStep.cs (4)
1786
if (Context.
GetTargetRuntimeVersion
() > TargetRuntimeVersion.NET5)
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):
2609
Debug.Assert (Context.
GetTargetRuntimeVersion
() < TargetRuntimeVersion.NET6 || !Context.DisableEventSourceSpecialHandling);