6 implementations of GenericParameterCount
Microsoft.CodeAnalysis (6)
CodeGen\ArrayMembers.cs (1)
323
public ushort
GenericParameterCount
=> 0;
Emit\EditAndContinue\DeletedPEMethodDefinition.cs (1)
134
public ushort
GenericParameterCount
Emit\EditAndContinue\DeletedSourceMethodDefinition.cs (1)
83
public ushort
GenericParameterCount
=> OldDefinition.GenericParameterCount;
Emit\NoPia\CommonEmbeddedMethod.cs (1)
263
ushort Cci.IMethodReference.
GenericParameterCount
=> (ushort)_typeParameters.Length;
Emit\NoPia\VtblGap.cs (1)
199
ushort Cci.IMethodReference.
GenericParameterCount
PEWriter\RootModuleStaticConstructor.cs (1)
88
public ushort
GenericParameterCount
=> 0;
8 references to GenericParameterCount
Microsoft.CodeAnalysis (8)
Emit\EditAndContinue\DeletedSourceMethodDefinition.cs (1)
83
public ushort GenericParameterCount => OldDefinition.
GenericParameterCount
;
Emit\EditAndContinue\DeltaMetadataWriter.cs (1)
762
if (methodDef.
GenericParameterCount
> 0)
PEWriter\FullMetadataWriter.cs (1)
420
if (methodDef.
GenericParameterCount
> 0)
PEWriter\MetadataVisitor.cs (1)
306
if (!signatureOnly && method.
GenericParameterCount
> 0)
PEWriter\MetadataWriter.cs (4)
1053
var encoder = new BlobEncoder(builder).MethodSpecificationSignature(methodInstanceReference.GetGenericMethod(Context).
GenericParameterCount
);
1131
Debug.Assert((methodReference.CallingConvention & CallingConvention.Generic) != 0 == (methodReference.
GenericParameterCount
> 0));
1137
methodReference.
GenericParameterCount
,
3440
var argsEncoder = new BlobEncoder(builder).MethodSpecificationSignature(genericMethodInstanceReference.GetGenericMethod(Context).
GenericParameterCount
);