3 instantiations of MethodAnnotations
illink (3)
Linker.Dataflow\FlowAnnotations.cs (3)
355
annotatedMethods.Add(new
MethodAnnotations
(method, paramAnnotations, returnAnnotation, genericParameterAnnotations));
436
annotatedMethods.Add(new
MethodAnnotations
(setMethod, paramAnnotations, DynamicallyAccessedMemberTypes.None, null));
473
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)
75
return GetAnnotations(methodDefinition.DeclaringType).TryGetAnnotation(methodDefinition, out
var
annotation) && annotation.GenericParameterAnnotations != null;
103
if (GetAnnotations(methodDef.DeclaringType).TryGetAnnotation(methodDef, out
var
annotation) &&
115
if (GetAnnotations(method.DeclaringType).TryGetAnnotation(method, out
var
annotation))
155
if (declaringMethod != null && GetAnnotations(declaringMethod.DeclaringType).TryGetAnnotation(declaringMethod, out
var
methodTypeAnnotations) &&
164
if (!GetAnnotations(method.DeclaringType).TryGetAnnotation(method, out
var
annotation))
296
var annotatedMethods = new List<
MethodAnnotations
>();
412
MethodAnnotations
? setterAnnotation = null;
413
foreach (
var
annotatedMethod in annotatedMethods)
456
MethodAnnotations
? getterAnnotation = null;
457
foreach (
var
annotatedMethod in annotatedMethods)
609
GetAnnotations(method.DeclaringType).TryGetAnnotation(method, out
var
methodAnnotations);
610
GetAnnotations(baseMethod.DeclaringType).TryGetAnnotation(baseMethod, out
var
baseMethodAnnotations);
728
readonly
MethodAnnotations
[]? _annotatedMethods;
735
MethodAnnotations
[]? annotatedMethods,
743
public bool TryGetAnnotation(MethodDefinition method, out
MethodAnnotations
annotations)
752
foreach (
var
m in _annotatedMethods)