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