4 interfaces inheriting from ITypeMemberReference
Microsoft.CodeAnalysis (4)
PEWriter\Members.cs (3)
254
internal interface IFieldReference :
ITypeMemberReference
836
internal interface ITypeDefinitionMember :
ITypeMemberReference
, IDefinition
926
internal interface IMethodReference : ISignature,
ITypeMemberReference
PEWriter\Types.cs (1)
326
internal interface INestedTypeReference : INamedTypeReference,
ITypeMemberReference
36 references to ITypeMemberReference
Microsoft.CodeAnalysis (36)
Emit\EditAndContinue\DeltaMetadataWriter.cs (5)
64
private readonly InstanceAndStructuralReferenceIndex<
ITypeMemberReference
> _memberRefIndex;
125
_memberRefIndex = new InstanceAndStructuralReferenceIndex<
ITypeMemberReference
>(this, new MemberRefComparer(this), lastRowId: sizes[(int)TableIndex.MemberRef]);
429
protected override MemberReferenceHandle GetOrAddMemberReferenceHandle(
ITypeMemberReference
reference)
434
protected override IReadOnlyList<
ITypeMemberReference
> GetMemberRefs()
834
foreach (
var
memberRef in GetMemberRefs())
Emit\NoPia\CommonEmbeddedEvent.cs (1)
169
Cci.ITypeReference Cci.
ITypeMemberReference
.GetContainingType(EmitContext context)
Emit\NoPia\CommonEmbeddedField.cs (1)
176
Cci.ITypeReference Cci.
ITypeMemberReference
.GetContainingType(EmitContext context)
Emit\NoPia\CommonEmbeddedMember.cs (1)
46
where TMember : TSymbol, Cci.
ITypeMemberReference
Emit\NoPia\CommonEmbeddedMethod.cs (1)
244
Cci.ITypeReference Cci.
ITypeMemberReference
.GetContainingType(EmitContext context)
Emit\NoPia\CommonEmbeddedProperty.cs (1)
197
Cci.ITypeReference Cci.
ITypeMemberReference
.GetContainingType(EmitContext context)
Emit\NoPia\EmbeddedTypesManager.cs (2)
56
where TEventSymbol : class, TSymbol, Cci.
ITypeMemberReference
57
where TPropertySymbol : class, TSymbol, Cci.
ITypeMemberReference
Emit\NoPia\VtblGap.cs (1)
167
Cci.ITypeReference Cci.
ITypeMemberReference
.GetContainingType(EmitContext context)
PEWriter\FullMetadataWriter.cs (4)
34
private readonly InstanceAndStructuralReferenceIndex<
ITypeMemberReference
> _memberRefIndex;
107
_memberRefIndex = new InstanceAndStructuralReferenceIndex<
ITypeMemberReference
>(this, new MemberRefComparer(this));
255
protected override MemberReferenceHandle GetOrAddMemberReferenceHandle(
ITypeMemberReference
reference)
260
protected override IReadOnlyList<
ITypeMemberReference
> GetMemberRefs()
PEWriter\MemberRefComparer.cs (4)
11
internal sealed class MemberRefComparer : IEqualityComparer<
ITypeMemberReference
>
20
public bool Equals(
ITypeMemberReference
? x,
ITypeMemberReference
? y)
58
public int GetHashCode(
ITypeMemberReference
memberRef)
PEWriter\MetadataVisitor.cs (3)
127
this.Visit((
ITypeMemberReference
)fieldReference);
351
this.Visit((
ITypeMemberReference
)methodReference);
575
public virtual void Visit(
ITypeMemberReference
typeMemberReference)
PEWriter\MetadataWriter.cs (6)
320
protected abstract MemberReferenceHandle GetOrAddMemberReferenceHandle(
ITypeMemberReference
reference);
326
protected abstract IReadOnlyList<
ITypeMemberReference
> GetMemberRefs();
920
internal MemberReferenceHandle GetMemberReferenceHandle(
ITypeMemberReference
memberRef)
925
internal EntityHandle GetMemberReferenceParent(
ITypeMemberReference
memberRef)
1088
private BlobHandle GetMemberReferenceSignatureHandle(
ITypeMemberReference
memberRef)
2578
foreach (
ITypeMemberReference
memberRef in memberRefs)
PEWriter\ReferenceIndexer.cs (1)
158
protected override void RecordTypeMemberReference(
ITypeMemberReference
typeMemberReference)
PEWriter\ReferenceIndexerBase.cs (4)
71
this.Visit((
ITypeMemberReference
)fieldReference);
162
this.Visit((
ITypeMemberReference
)methodReference);
324
public override void Visit(
ITypeMemberReference
typeMemberReference)
342
protected abstract void RecordTypeMemberReference(
ITypeMemberReference
typeMemberReference);
PEWriter\TypeReferenceIndexer.cs (1)
66
protected override void RecordTypeMemberReference(
ITypeMemberReference
typeMemberReference)