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