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