3 instantiations of MethodAnnotations
ILCompiler.Compiler (3)
Compiler\Dataflow\FlowAnnotations.cs (3)
485
annotatedMethods.Add(new
MethodAnnotations
(method, paramAnnotations, returnAnnotation, genericParameterAnnotations));
566
annotatedMethods.Add(new
MethodAnnotations
(setMethod, paramAnnotations, DynamicallyAccessedMemberTypes.None, null));
603
annotatedMethods.Add(new
MethodAnnotations
(getMethod, getterAnnotation?.ParameterAnnotations, annotation, null));
16 references to MethodAnnotations
ILCompiler.Compiler (16)
Compiler\Dataflow\FlowAnnotations.cs (16)
115
return GetAnnotations(method.OwningType).TryGetAnnotation(method, out
var
annotation) && annotation.GenericParameterAnnotations != null;
127
if (GetAnnotations(method.OwningType).TryGetAnnotation(method, out
var
annotation) && annotation.ParameterAnnotations != null)
139
if (GetAnnotations(method.OwningType).TryGetAnnotation(method, out
var
annotation))
191
if (GetAnnotations(parent.OwningType).TryGetAnnotation(parent, out
var
methodAnnotation)
205
if (!GetAnnotations(method.OwningType).TryGetAnnotation(method, out
var
annotation))
399
var annotatedMethods = new List<
MethodAnnotations
>();
542
MethodAnnotations
? setterAnnotation = null;
543
foreach (
var
annotatedMethod in annotatedMethods)
586
MethodAnnotations
? getterAnnotation = null;
587
foreach (
var
annotatedMethod in annotatedMethods)
732
GetAnnotations(method.OwningType).TryGetAnnotation(method, out
var
methodAnnotations);
733
GetAnnotations(baseMethod.OwningType).TryGetAnnotation(baseMethod, out
var
baseMethodAnnotations);
845
private readonly
MethodAnnotations
[]? _annotatedMethods;
854
MethodAnnotations
[]? annotatedMethods,
860
public bool TryGetAnnotation(MethodDesc method, out
MethodAnnotations
annotations)
869
foreach (
var
m in _annotatedMethods)