3 instantiations of MethodAnnotations
illink (3)
Linker.Dataflow\FlowAnnotations.cs (3)
287
annotatedMethods.Add (new
MethodAnnotations
(method, paramAnnotations, returnAnnotation, genericParameterAnnotations));
352
annotatedMethods.Add (new
MethodAnnotations
(setMethod, paramAnnotations, DynamicallyAccessedMemberTypes.None, null));
383
annotatedMethods.Add (new
MethodAnnotations
(getMethod, getterAnnotation?.ParameterAnnotations, annotation, null));
16 references to MethodAnnotations
illink (16)
Linker.Dataflow\FlowAnnotations.cs (16)
35
return GetAnnotations (method.DeclaringType).TryGetAnnotation (method, out
var
methodAnnotations)
53
if (GetAnnotations (methodDef.DeclaringType).TryGetAnnotation (methodDef, out
var
annotation) &&
65
if (GetAnnotations (method.DeclaringType).TryGetAnnotation (method, out
var
annotation))
103
if (declaringMethod != null && GetAnnotations (declaringMethod.DeclaringType).TryGetAnnotation (declaringMethod, out
var
methodTypeAnnotations) &&
112
if (!GetAnnotations (method.DeclaringType).TryGetAnnotation (method, out
var
annotation))
238
var annotatedMethods = new List<
MethodAnnotations
> ();
332
MethodAnnotations
? setterAnnotation = null;
333
foreach (
var
annotatedMethod in annotatedMethods) {
370
MethodAnnotations
? getterAnnotation = null;
371
foreach (
var
annotatedMethod in annotatedMethods) {
490
GetAnnotations (method.DeclaringType).TryGetAnnotation (method, out
var
methodAnnotations);
491
GetAnnotations (baseMethod.DeclaringType).TryGetAnnotation (baseMethod, out
var
baseMethodAnnotations);
598
readonly
MethodAnnotations
[]? _annotatedMethods;
605
MethodAnnotations
[]? annotatedMethods,
613
public bool TryGetAnnotation (MethodDefinition method, out
MethodAnnotations
annotations)
621
foreach (
var
m in _annotatedMethods) {