6 implementations of GetGenericTypeParameter
Microsoft.CodeAnalysis.Test.Utilities (1)
Metadata\MetadataReaderUtils.cs (1)
424public string GetGenericTypeParameter(object genericContext, int index)
Microsoft.CodeAnalysis.Workspaces (2)
FindSymbols\SymbolTree\SymbolTreeInfo.FirstEntityHandleProvider.cs (1)
57public EntityHandle GetGenericTypeParameter(object? genericContext, int index) => default;
FindSymbols\SymbolTree\SymbolTreeInfo.Node.cs (1)
163public ParameterTypeInfo GetGenericTypeParameter(object? genericContext, int index) => ComplexInfo;
System.Reflection.MetadataLoadContext (3)
System\Reflection\TypeLoading\General\Ecma\EcmaSignatureTypeProviderForToString.cs (1)
54public string GetGenericTypeParameter(TypeContext genericContext, int index) => genericContext.GetGenericTypeArgumentOrNull(index)?.ToString() ?? ("!" + index);
System\Reflection\TypeLoading\General\Ecma\EcmaWrappedTypeProvider.cs (1)
52public RoType GetGenericTypeParameter(TypeContext genericContext, int index) => _typeProvider.GetGenericTypeParameter(genericContext, index);
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.TypeProvider.cs (1)
35public RoType GetGenericTypeParameter(TypeContext genericContext, int index) => genericContext.GetGenericTypeArgumentOrNull(index) ?? throw new BadImageFormatException(SR.Format(SR.GenericTypeParamIndexOutOfRange, index));
1 reference to GetGenericTypeParameter
System.Reflection.Metadata (1)
System\Reflection\Metadata\Ecma335\SignatureDecoder.cs (1)
119return _provider.GetGenericTypeParameter(_genericContext, index);