2 references to GetGenericMethodArgumentOrNull
System.Reflection.MetadataLoadContext (2)
System\Reflection\TypeLoading\General\Ecma\EcmaSignatureTypeProviderForToString.cs (1)
55
public string GetGenericMethodParameter(TypeContext genericContext, int index) => genericContext.
GetGenericMethodArgumentOrNull
(index)?.ToString() ?? ("!!" + index);
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.TypeProvider.cs (1)
36
public RoType GetGenericMethodParameter(TypeContext genericContext, int index) => genericContext.
GetGenericMethodArgumentOrNull
(index) ?? throw new BadImageFormatException(SR.Format(SR.GenericMethodParamIndexOutOfRange, index));