49 references to IsMarked
illink (49)
Linker.Steps\AddBypassNGenStep.cs (1)
48
if (!Annotations.
IsMarked
(method))
Linker.Steps\CheckSuppressionsDispatcher.cs (6)
41
return (property.GetMethod != null && context.Annotations.
IsMarked
(property.GetMethod))
42
|| (property.SetMethod != null && context.Annotations.
IsMarked
(property.SetMethod));
47
return (@event.AddMethod != null && context.Annotations.
IsMarked
(@event.AddMethod))
48
|| (@event.InvokeMethod != null && context.Annotations.
IsMarked
(@event.InvokeMethod))
49
|| (@event.RemoveMethod != null && context.Annotations.
IsMarked
(@event.RemoveMethod));
52
return context.Annotations.
IsMarked
(provider);
Linker.Steps\DiscoverCustomOperatorsHandler.cs (1)
110
if (otherType == null || Context.Annotations.
IsMarked
(otherType))
Linker.Steps\MarkExportedTypesTargetStep.cs (1)
22
if (!context.Annotations.
IsMarked
(exportedType))
Linker.Steps\MarkStep.cs (25)
638
if (!Annotations.
IsMarked
(type) && TypeIsDynamicInterfaceCastableImplementation(type))
663
if (Annotations.
IsMarked
(type))
671
if (Annotations.
IsMarked
(iface.InterfaceType))
741
Debug.Assert(Annotations.
IsMarked
(overrideInformation.Base) || IgnoreScope(overrideInformation.Base.DeclaringType.Scope));
742
if (!Annotations.
IsMarked
(overrideInformation.Override.DeclaringType))
785
Debug.Assert(Annotations.
IsMarked
(method.DeclaringType));
791
var markedBaseMethods = bases.Where(ov => Annotations.
IsMarked
(ov.Base) || IgnoreScope(ov.Base.DeclaringType.Scope));
819
if (!context.Annotations.
IsMarked
(intf))
1248
if (type is null || !Annotations.
IsMarked
(type))
1281
if (!Annotations.
IsMarked
(resolvedConstructor.Module) &&
1282
!Annotations.
IsMarked
(ca.AttributeType) &&
1292
if (displayTargetType == null || !Annotations.
IsMarked
(displayTargetType))
1873
Debug.Assert(Annotations.
IsMarked
(field));
1980
Debug.Assert(Annotations.
IsMarked
(module));
2103
if (propertyDefinition != null && !Annotations.
IsMarked
(propertyDefinition))
2171
Debug.Assert(Annotations.
IsMarked
(type));
2632
if (ifaces.All(Annotations.
IsMarked
))
2641
if (Annotations.
IsMarked
(resolvedInterfaceType))
2685
if (Annotations.
IsMarked
(method))
2728
if (Annotations.
IsMarked
(method))
2734
if (!((iface is not null && Annotations.
IsMarked
(iface))
2740
if (!Annotations.
IsMarked
(@base) && !IgnoreScope(@base.DeclaringType.Scope))
3216
Debug.Assert(Annotations.
IsMarked
(method));
3458
foreach (var @override in overrides.Where(ov => Annotations.
IsMarked
(ov.Base) || IgnoreScope(ov.Base.DeclaringType.Scope)))
4108
if (Annotations.
IsMarked
(iface))
Linker.Steps\SealerStep.cs (5)
40
if (!Annotations.
IsMarked
(a))
97
Debug.Assert(Annotations.
IsMarked
(method));
98
if (!Annotations.
IsMarked
(method))
140
if (Annotations.
IsMarked
(m.Override))
153
if (Annotations.
IsMarked
(m.Base))
Linker.Steps\SweepStep.cs (6)
253
if (main.EntryPoint != null && !Annotations.
IsMarked
(main.EntryPoint))
264
return Annotations.
IsMarked
(assembly) || Annotations.
IsMarked
(assembly.MainModule);
548
if (!Annotations.
IsMarked
(constants[i].ConstantType))
562
if (ttype != null && !Annotations.
IsMarked
(ttype))
607
return !Annotations.
IsMarked
(element);
Linker\Annotations.cs (1)
546
if (
IsMarked
(definition))
Linker\TypeMapHandler.cs (3)
132
if (_context.Annotations.
IsMarked
(targetAssembly))
375
sourceType is null || context.Annotations.
IsMarked
(sourceType),
377
context.Annotations.
IsMarked
(sourceType),