3 instantiations of MethodAnnotations
illink (3)
Linker.Dataflow\FlowAnnotations.cs (3)
321
annotatedMethods.Add(new
MethodAnnotations
(method, paramAnnotations, returnAnnotation, genericParameterAnnotations));
395
annotatedMethods.Add(new
MethodAnnotations
(setMethod, paramAnnotations, DynamicallyAccessedMemberTypes.None, null));
432
annotatedMethods.Add(new
MethodAnnotations
(getMethod, getterAnnotation?.ParameterAnnotations, annotation, null));
17 references to MethodAnnotations
illink (17)
Linker.Dataflow\FlowAnnotations.cs (17)
35
return GetAnnotations(method.DeclaringType).TryGetAnnotation(method, out
var
methodAnnotations)
58
return GetAnnotations(methodDefinition.DeclaringType).TryGetAnnotation(methodDefinition, out
var
annotation) && annotation.GenericParameterAnnotations != null;
69
if (GetAnnotations(methodDef.DeclaringType).TryGetAnnotation(methodDef, out
var
annotation) &&
81
if (GetAnnotations(method.DeclaringType).TryGetAnnotation(method, out
var
annotation))
121
if (declaringMethod != null && GetAnnotations(declaringMethod.DeclaringType).TryGetAnnotation(declaringMethod, out
var
methodTypeAnnotations) &&
130
if (!GetAnnotations(method.DeclaringType).TryGetAnnotation(method, out
var
annotation))
262
var annotatedMethods = new List<
MethodAnnotations
>();
371
MethodAnnotations
? setterAnnotation = null;
372
foreach (
var
annotatedMethod in annotatedMethods)
415
MethodAnnotations
? getterAnnotation = null;
416
foreach (
var
annotatedMethod in annotatedMethods)
585
GetAnnotations(method.DeclaringType).TryGetAnnotation(method, out
var
methodAnnotations);
586
GetAnnotations(baseMethod.DeclaringType).TryGetAnnotation(baseMethod, out
var
baseMethodAnnotations);
704
readonly
MethodAnnotations
[]? _annotatedMethods;
711
MethodAnnotations
[]? annotatedMethods,
719
public bool TryGetAnnotation(MethodDefinition method, out
MethodAnnotations
annotations)
728
foreach (
var
m in _annotatedMethods)