6 references to TryGetLinkerAttribute
illink (6)
Linker.Dataflow\ReflectionMethodBodyScanner.cs (1)
66
|| annotations.
TryGetLinkerAttribute
<RequiresUnreferencedCodeAttribute>(typeDefinition, out _);
Linker\Annotations.cs (5)
625
if (
TryGetLinkerAttribute
(method, out attribute) && !method.IsStaticConstructor())
628
if (method.DeclaringType is not null &&
TryGetLinkerAttribute
(method.DeclaringType, out attribute))
680
if (!method.IsStaticConstructor() &&
TryGetLinkerAttribute
(method, out attribute))
684
TryGetLinkerAttribute
(method.DeclaringType, out attribute))
706
return
TryGetLinkerAttribute
(field.DeclaringType, out attribute) && !attribute.ExcludeStatics;