5 references to DoesMethodRequireUnreferencedCode
illink (5)
Linker.Dataflow\HandleCallAction.cs (1)
62
if (_context.Annotations.
DoesMethodRequireUnreferencedCode
(calledMethod.Definition, out RequiresUnreferencedCodeAttribute? requiresUnreferencedCode))
Linker.Dataflow\ReflectionMethodBodyScanner.cs (1)
34
context.Annotations.
DoesMethodRequireUnreferencedCode
(methodDefinition, out _) ||
Linker.Steps\MarkStep.cs (1)
1579
isReflectionAccessCoveredByRUC = Annotations.
DoesMethodRequireUnreferencedCode
(method, out requiresUnreferencedCode);
Linker.Steps\ValidateVirtualMethodAnnotationsStep.cs (2)
46
bool baseRequires = annotations.
DoesMethodRequireUnreferencedCode
(baseMethod, out _);
47
if ((baseRequires && !methodSatisfies) || (!baseRequires && annotations.
DoesMethodRequireUnreferencedCode
(method, out _))) {