3 instantiations of MethodAnnotations
illink (3)
Linker.Dataflow\FlowAnnotations.cs (3)
305
annotatedMethods.Add(new
MethodAnnotations
(method, paramAnnotations, returnAnnotation, genericParameterAnnotations));
379
annotatedMethods.Add(new
MethodAnnotations
(setMethod, paramAnnotations, DynamicallyAccessedMemberTypes.None, null));
416
annotatedMethods.Add(new
MethodAnnotations
(getMethod, getterAnnotation?.ParameterAnnotations, annotation, null));
16 references to MethodAnnotations
illink (16)
Linker.Dataflow\FlowAnnotations.cs (16)
35
return GetAnnotations(method.DeclaringType).TryGetAnnotation(method, out
var
methodAnnotations)
53
if (GetAnnotations(methodDef.DeclaringType).TryGetAnnotation(methodDef, out
var
annotation) &&
65
if (GetAnnotations(method.DeclaringType).TryGetAnnotation(method, out
var
annotation))
105
if (declaringMethod != null && GetAnnotations(declaringMethod.DeclaringType).TryGetAnnotation(declaringMethod, out
var
methodTypeAnnotations) &&
114
if (!GetAnnotations(method.DeclaringType).TryGetAnnotation(method, out
var
annotation))
246
var annotatedMethods = new List<
MethodAnnotations
>();
355
MethodAnnotations
? setterAnnotation = null;
356
foreach (
var
annotatedMethod in annotatedMethods)
399
MethodAnnotations
? getterAnnotation = null;
400
foreach (
var
annotatedMethod in annotatedMethods)
540
GetAnnotations(method.DeclaringType).TryGetAnnotation(method, out
var
methodAnnotations);
541
GetAnnotations(baseMethod.DeclaringType).TryGetAnnotation(baseMethod, out
var
baseMethodAnnotations);
659
readonly
MethodAnnotations
[]? _annotatedMethods;
666
MethodAnnotations
[]? annotatedMethods,
674
public bool TryGetAnnotation(MethodDefinition method, out
MethodAnnotations
annotations)
683
foreach (
var
m in _annotatedMethods)