6 implementations of GetGenericMethodParameter
Microsoft.CodeAnalysis.Test.Utilities (1)
Metadata\MetadataReaderUtils.cs (1)
421
public string
GetGenericMethodParameter
(object genericContext, int index)
Microsoft.CodeAnalysis.Workspaces (2)
FindSymbols\SymbolTree\SymbolTreeInfo.FirstEntityHandleProvider.cs (1)
56
public EntityHandle
GetGenericMethodParameter
(object? genericContext, int index) => default;
FindSymbols\SymbolTree\SymbolTreeInfo.Node.cs (1)
161
public ParameterTypeInfo
GetGenericMethodParameter
(object? genericContext, int index) => ComplexInfo;
System.Reflection.MetadataLoadContext (3)
System\Reflection\TypeLoading\General\Ecma\EcmaSignatureTypeProviderForToString.cs (1)
55
public string
GetGenericMethodParameter
(TypeContext genericContext, int index) => genericContext.GetGenericMethodArgumentOrNull(index)?.ToString() ?? ("!!" + index);
System\Reflection\TypeLoading\General\Ecma\EcmaWrappedTypeProvider.cs (1)
53
public RoType
GetGenericMethodParameter
(TypeContext genericContext, int index) => _typeProvider.GetGenericMethodParameter(genericContext, 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));
1 reference to GetGenericMethodParameter
System.Reflection.Metadata (1)
System\Reflection\Metadata\Ecma335\SignatureDecoder.cs (1)
123
return _provider.
GetGenericMethodParameter
(_genericContext, index);