1 write to ParameterAnnotations
ILCompiler.Compiler (1)
Compiler\Dataflow\FlowAnnotations.cs (1)
936=> (Method, ParameterAnnotations, ReturnParameterAnnotation, GenericParameterAnnotations) =
19 references to ParameterAnnotations
ILCompiler.Compiler (19)
Compiler\Dataflow\FlowAnnotations.cs (19)
127if (GetAnnotations(method.OwningType).TryGetAnnotation(method, out var annotation) && annotation.ParameterAnnotations != null) 129return annotation.ParameterAnnotations[(int)param.Index]; 208if (annotation.ParameterAnnotations == null && annotation.ReturnParameterAnnotation == DynamicallyAccessedMemberTypes.None) 250return method.IsVirtual || annotation.ParameterAnnotations != null; 550if (setterAnnotation?.ParameterAnnotations?[^1] is not (null or DynamicallyAccessedMemberTypes.None)) 560if (setterAnnotation?.ParameterAnnotations is null) 563paramAnnotations = setterAnnotation.Value.ParameterAnnotations; 603annotatedMethods.Add(new MethodAnnotations(getMethod, getterAnnotation?.ParameterAnnotations, annotation, null)); 738if (methodAnnotations.ParameterAnnotations != null || baseMethodAnnotations.ParameterAnnotations != null) 740if (methodAnnotations.ParameterAnnotations == null) 741ValidateMethodParametersHaveNoAnnotations(baseMethodAnnotations.ParameterAnnotations!, method, baseMethod, origin); 742else if (baseMethodAnnotations.ParameterAnnotations == null) 743ValidateMethodParametersHaveNoAnnotations(methodAnnotations.ParameterAnnotations, method, baseMethod, origin); 746if (methodAnnotations.ParameterAnnotations.Length != baseMethodAnnotations.ParameterAnnotations.Length) 749for (int parameterIndex = 0; parameterIndex < methodAnnotations.ParameterAnnotations.Length; parameterIndex++) 751if (methodAnnotations.ParameterAnnotations[parameterIndex] != baseMethodAnnotations.ParameterAnnotations[parameterIndex])