3 instantiations of MethodAnnotations
illink (3)
Linker.Dataflow\FlowAnnotations.cs (3)
321
annotatedMethods.Add(new
MethodAnnotations
(method, paramAnnotations, returnAnnotation, genericParameterAnnotations));
402
annotatedMethods.Add(new
MethodAnnotations
(setMethod, paramAnnotations, DynamicallyAccessedMemberTypes.None, null));
439
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
>();
378
MethodAnnotations
? setterAnnotation = null;
379
foreach (
var
annotatedMethod in annotatedMethods)
422
MethodAnnotations
? getterAnnotation = null;
423
foreach (
var
annotatedMethod in annotatedMethods)
575
GetAnnotations(method.DeclaringType).TryGetAnnotation(method, out
var
methodAnnotations);
576
GetAnnotations(baseMethod.DeclaringType).TryGetAnnotation(baseMethod, out
var
baseMethodAnnotations);
694
readonly
MethodAnnotations
[]? _annotatedMethods;
701
MethodAnnotations
[]? annotatedMethods,
709
public bool TryGetAnnotation(MethodDefinition method, out
MethodAnnotations
annotations)
718
foreach (
var
m in _annotatedMethods)