1 write to context
illink (1)
Linker\TypeMapInfo.cs (1)
52
this.
context
= context;
18 references to context
illink (18)
Linker\TypeMapInfo.cs (18)
145
AddRecursiveInterfaces (type, [], firstImplementationChain,
context
);
146
Debug.Assert (firstImplementationChain.All (kvp =>
context
.Resolve (kvp.Item1) ==
context
.Resolve (kvp.Item2.Last ().InterfaceType)));
179
foreach (var interfaceImpl in type.GetInflatedInterfaces (
context
)) {
180
foreach (MethodReference interfaceMethod in interfaceImpl.InflatedInterface.GetMethods (
context
)) {
181
MethodDefinition? resolvedInterfaceMethod =
context
.TryResolve (interfaceMethod);
199
AnnotateMethods (resolvedInterfaceMethod, exactMatchOnType, new (type, interfaceImpl.OriginalImpl, resolvedInterfaceMethod.DeclaringType,
context
));
206
AnnotateMethods (resolvedInterfaceMethod, @base, new (type, interfaceImpl.OriginalImpl, resolvedInterfaceMethod.DeclaringType,
context
));
250
MethodDefinition? baseMethod =
context
.TryResolve (baseMethodRef);
254
AnnotateMethods (baseMethod, method, InterfaceImplementor.Create (method.DeclaringType, baseMethod.DeclaringType,
context
));
304
var baseType =
context
.TryResolve (type)?.BaseType;
312
return
context
.TryResolve (type)?.BaseType;
332
var potentialImplInterface =
context
.TryResolve (interfaceImpl.InterfaceType);
341
AddDefaultInterfaceImplementation (interfaceMethodToBeImplemented, new (typeThatImplementsInterface, originalInterfaceImpl, interfaceMethodToBeImplemented.DeclaringType,
context
), potentialImplMethod);
351
if (
context
.TryResolve (baseMethod) == interfaceMethodToBeImplemented) {
352
AddDefaultInterfaceImplementation (interfaceMethodToBeImplemented, new (typeThatImplementsInterface, originalInterfaceImpl, interfaceMethodToBeImplemented.DeclaringType,
context
), @potentialImplMethod);
373
foreach (var candidate in type.GetMethods (
context
)) {
374
var md =
context
.TryResolve (candidate);