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