34 references to IGenericMethodInstanceReference
Microsoft.CodeAnalysis (34)
CodeGen\ArrayMembers.cs (1)
330
public Cci.
IGenericMethodInstanceReference
? AsGenericMethodInstanceReference => null;
CodeGen\ReferenceDependencyWalker.cs (1)
109
Cci.
IGenericMethodInstanceReference
? genericInstance = methodReference.AsGenericMethodInstanceReference;
Emit\EditAndContinue\DeletedPEMethodDefinition.cs (1)
140
public Cci.
IGenericMethodInstanceReference
? AsGenericMethodInstanceReference
Emit\EditAndContinue\DeletedSourceMethodDefinition.cs (1)
87
public
IGenericMethodInstanceReference
? AsGenericMethodInstanceReference => OldDefinition.AsGenericMethodInstanceReference;
Emit\EditAndContinue\DeltaMetadataWriter.cs (4)
65
private readonly InstanceAndStructuralReferenceIndex<
IGenericMethodInstanceReference
> _methodSpecIndex;
126
_methodSpecIndex = new InstanceAndStructuralReferenceIndex<
IGenericMethodInstanceReference
>(this, new MethodSpecComparer(this), lastRowId: sizes[(int)TableIndex.MethodSpec]);
439
protected override MethodSpecificationHandle GetOrAddMethodSpecificationHandle(
IGenericMethodInstanceReference
reference)
444
protected override IReadOnlyList<
IGenericMethodInstanceReference
> GetMethodSpecs()
Emit\NoPia\CommonEmbeddedMethod.cs (1)
279
Cci.
IGenericMethodInstanceReference
Cci.IMethodReference.AsGenericMethodInstanceReference => null;
Emit\NoPia\VtblGap.cs (1)
214
Cci.
IGenericMethodInstanceReference
Cci.IMethodReference.AsGenericMethodInstanceReference
PEWriter\FullMetadataWriter.cs (4)
35
private readonly InstanceAndStructuralReferenceIndex<
IGenericMethodInstanceReference
> _methodSpecIndex;
108
_methodSpecIndex = new InstanceAndStructuralReferenceIndex<
IGenericMethodInstanceReference
>(this, new MethodSpecComparer(this));
265
protected override MethodSpecificationHandle GetOrAddMethodSpecificationHandle(
IGenericMethodInstanceReference
reference)
270
protected override IReadOnlyList<
IGenericMethodInstanceReference
> GetMethodSpecs()
PEWriter\Members.cs (1)
949
IGenericMethodInstanceReference
? AsGenericMethodInstanceReference { get; }
PEWriter\MetadataVisitor.cs (2)
142
public virtual void Visit(
IGenericMethodInstanceReference
genericMethodInstanceReference)
344
IGenericMethodInstanceReference
? genericMethodInstanceReference = methodReference.AsGenericMethodInstanceReference;
PEWriter\MetadataWriter.cs (10)
333
protected abstract MethodSpecificationHandle GetOrAddMethodSpecificationHandle(
IGenericMethodInstanceReference
reference);
339
protected abstract IReadOnlyList<
IGenericMethodInstanceReference
> GetMethodSpecs();
450
private readonly Dictionary<
IGenericMethodInstanceReference
, BlobHandle> _methodInstanceSignatureIndex = new Dictionary<
IGenericMethodInstanceReference
, BlobHandle>(ReferenceEqualityComparer.Instance);
1044
internal BlobHandle GetMethodSpecificationSignatureHandle(
IGenericMethodInstanceReference
methodInstanceReference)
1149
private BlobHandle GetMethodSpecificationBlobHandle(
IGenericMethodInstanceReference
genericMethodInstanceReference)
1158
private MethodSpecificationHandle GetMethodSpecificationHandle(
IGenericMethodInstanceReference
methodSpec)
1183
IGenericMethodInstanceReference
methodSpec = methodReference.AsGenericMethodInstanceReference;
2605
foreach (
IGenericMethodInstanceReference
genericMethodInstanceReference in methodSpecs)
3438
private void SerializeMethodSpecificationSignature(BlobBuilder builder,
IGenericMethodInstanceReference
genericMethodInstanceReference)
PEWriter\MethodSpecComparer.cs (4)
11
internal sealed class MethodSpecComparer : IEqualityComparer<
IGenericMethodInstanceReference
>
20
public bool Equals(
IGenericMethodInstanceReference
? x,
IGenericMethodInstanceReference
? y)
33
public int GetHashCode(
IGenericMethodInstanceReference
methodInstanceReference)
PEWriter\ReferenceIndexerBase.cs (2)
85
public override void Visit(
IGenericMethodInstanceReference
genericMethodInstanceReference)
139
IGenericMethodInstanceReference
genericMethodInstanceReference = methodReference.AsGenericMethodInstanceReference;
PEWriter\RootModuleStaticConstructor.cs (1)
92
public
IGenericMethodInstanceReference
AsGenericMethodInstanceReference => null;