Implemented interface member:
method
TryResolve
Mono.Linker.ITryResolveMetadata.TryResolve(Mono.Cecil.MethodReference)
20 references to TryResolve
illink (20)
Linker.Dataflow\CompilerGeneratedState.cs (1)
153
MethodDefinition? referencedMethod = _context.
TryResolve
((MethodReference) instruction.Operand);
Linker.Dataflow\FlowAnnotations.cs (3)
32
if (_context.
TryResolve
(methodRef) is not MethodDefinition method)
50
if (_context.
TryResolve
(param.Method.Method) is not MethodDefinition methodDef)
62
if (_context.
TryResolve
(methodRef) is not MethodDefinition method)
Linker.Dataflow\MethodBodyScanner.cs (2)
267
if (_context.
TryResolve
(referencedMethod) is not MethodDefinition method)
811
case MethodReference methodReference when _context.
TryResolve
(methodReference) is MethodDefinition resolvedMethod:
Linker.Dataflow\ReflectionMarker.cs (1)
119
if (_context.
TryResolve
(methodRef) is not MethodDefinition method)
Linker.Dataflow\ReflectionMethodBodyScanner.cs (2)
28
MethodDefinition? methodDefinition = context.
TryResolve
(calledMethod);
123
var calledMethodDefinition = _context.
TryResolve
(calledMethod);
Linker.Steps\MarkStep.cs (2)
1284
var resolvedConstructor = Context.
TryResolve
(ca.Constructor);
2697
return Context.
TryResolve
(method.ElementMethod);
Linker.Steps\UnreachableBlocksOptimizer.cs (3)
468
MethodDefinition? md = optimizer._context.
TryResolve
((MethodReference) instr.Operand);
825
var md = context.
TryResolve
((MethodReference) instr.Operand);
1769
MethodDefinition? md = optimizer._context.
TryResolve
(mr);
Linker\BannedApiExtensions.cs (1)
34
=> context.
TryResolve
(method);
Linker\MethodBodyScanner.cs (1)
124
var resolvedMethod = context.
TryResolve
(methodReference);
Linker\TypeMapInfo.cs (4)
181
MethodDefinition? resolvedInterfaceMethod = context.
TryResolve
(interfaceMethod);
250
MethodDefinition? baseMethod = context.
TryResolve
(baseMethodRef);
351
if (context.
TryResolve
(baseMethod) == interfaceMethodToBeImplemented) {
374
var md = context.
TryResolve
(candidate);