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