7 references to HasLinkerAttribute
illink (7)
Linker.Steps\MarkStep.cs (5)
1925
if (Annotations.
HasLinkerAttribute
<RemoveAttributeInstancesAttribute> (type)) {
1960
!Annotations.
HasLinkerAttribute
<RequiresUnreferencedCodeAttribute> (type) &&
2102
if (Annotations.
HasLinkerAttribute
<RemoveAttributeInstancesAttribute> (resolvedAttributeType) && Annotations.GetAction (type.Module.Assembly) == AssemblyAction.Link)
3085
} else if (method.IsStaticConstructor () && Annotations.
HasLinkerAttribute
<RequiresUnreferencedCodeAttribute> (method))
3087
else if (method == method.Module.EntryPoint && Annotations.
HasLinkerAttribute
<RequiresUnreferencedCodeAttribute>(method))
Linker\Annotations.cs (2)
683
if (FlowAnnotations.RequiresVirtualMethodDataFlowAnalysis (@override.Override) ||
HasLinkerAttribute
<RequiresUnreferencedCodeAttribute> (@override.Override))
689
if (FlowAnnotations.RequiresVirtualMethodDataFlowAnalysis (method) ||
HasLinkerAttribute
<RequiresUnreferencedCodeAttribute> (method))