3 instantiations of MethodAnnotations
illink (3)
Linker.Dataflow\FlowAnnotations.cs (3)
265
annotatedMethods.Add (new
MethodAnnotations
(method, paramAnnotations, returnAnnotation, genericParameterAnnotations));
330
annotatedMethods.Add (new
MethodAnnotations
(setMethod, paramAnnotations, DynamicallyAccessedMemberTypes.None, null));
361
annotatedMethods.Add (new
MethodAnnotations
(getMethod, getterAnnotation?.ParameterAnnotations, annotation, null));
16 references to MethodAnnotations
illink (16)
Linker.Dataflow\FlowAnnotations.cs (16)
31
GetAnnotations (method.DeclaringType).TryGetAnnotation (method, out
var
methodAnnotations)
45
if (GetAnnotations (param.Method.Method.DeclaringType).TryGetAnnotation (param.Method.Method, out
var
annotation) &&
54
if (GetAnnotations (method.DeclaringType).TryGetAnnotation (method, out
var
annotation))
89
if (declaringMethod != null && GetAnnotations (declaringMethod.DeclaringType).TryGetAnnotation (declaringMethod, out
var
methodTypeAnnotations) &&
98
if (!GetAnnotations (method.DeclaringType).TryGetAnnotation (method, out
var
annotation))
217
var annotatedMethods = new List<
MethodAnnotations
> ();
310
MethodAnnotations
? setterAnnotation = null;
311
foreach (
var
annotatedMethod in annotatedMethods) {
348
MethodAnnotations
? getterAnnotation = null;
349
foreach (
var
annotatedMethod in annotatedMethods) {
466
GetAnnotations (method.DeclaringType).TryGetAnnotation (method, out
var
methodAnnotations);
467
GetAnnotations (baseMethod.DeclaringType).TryGetAnnotation (baseMethod, out
var
baseMethodAnnotations);
571
readonly
MethodAnnotations
[]? _annotatedMethods;
578
MethodAnnotations
[]? annotatedMethods,
586
public bool TryGetAnnotation (MethodDefinition method, out
MethodAnnotations
annotations)
594
foreach (
var
m in _annotatedMethods) {