1 implementation of IGenericTypeParameter
Microsoft.CodeAnalysis (1)
PEWriter\InheritedTypeParameter.cs (1)
13internal class InheritedTypeParameter : IGenericTypeParameter
23 references to IGenericTypeParameter
Microsoft.CodeAnalysis (23)
Emit\EditAndContinue\DeletedSourceGenericParameter.cs (1)
37public IGenericTypeParameter? AsGenericTypeParameter => OldDefinition.AsGenericTypeParameter;
Emit\EditAndContinue\DeletedSourceTypeDefinition.cs (1)
30public IEnumerable<IGenericTypeParameter> GenericParameters => OldDefinition.GenericParameters;
Emit\EditAndContinue\DeltaMetadataWriter.cs (1)
602foreach (var typeParameter in typeParameters)
Emit\NoPia\CommonEmbeddedType.cs (2)
296IEnumerable<Cci.IGenericTypeParameter> Cci.ITypeDefinition.GenericParameters 300return SpecializedCollections.EmptyEnumerable<Cci.IGenericTypeParameter>();
Emit\NoPia\CommonEmbeddedTypeParameter.cs (1)
122Cci.IGenericTypeParameter Cci.IGenericParameter.AsGenericTypeParameter
PEWriter\FullMetadataWriter.cs (2)
373IEnumerable<IGenericTypeParameter> typeParameters = this.GetConsolidatedTypeParameters(typeDef); 376foreach (IGenericTypeParameter genericParameter in typeParameters)
PEWriter\InheritedTypeParameter.cs (4)
17private readonly IGenericTypeParameter _parentParameter; 19internal InheritedTypeParameter(ushort index, ITypeDefinition inheritingType, IGenericTypeParameter parentParameter) 121public IGenericTypeParameter? AsGenericTypeParameter 125return this as IGenericTypeParameter;
PEWriter\MetadataVisitor.cs (2)
174foreach (IGenericTypeParameter genericParameter in genericParameters) 180public virtual void Visit(IGenericTypeParameter genericTypeParameter)
PEWriter\MetadataWriter.cs (6)
535protected IEnumerable<IGenericTypeParameter> GetConsolidatedTypeParameters(ITypeDefinition typeDef) 551private List<IGenericTypeParameter> GetConsolidatedTypeParameters(ITypeDefinition typeDef, ITypeDefinition owner) 553List<IGenericTypeParameter> result = null; 565result = new List<IGenericTypeParameter>(); 578foreach (IGenericTypeParameter genericParameter in typeDef.GenericParameters) 1580IGenericTypeParameter genTypePar = genPar.AsGenericTypeParameter;
PEWriter\RootModuleType.cs (1)
198IEnumerable<IGenericTypeParameter> ITypeDefinition.GenericParameters
PEWriter\Types.cs (2)
170IGenericTypeParameter? AsGenericTypeParameter { get; } 480IEnumerable<IGenericTypeParameter> GenericParameters