4 interfaces inheriting from IReference
Microsoft.CodeAnalysis (4)
PEWriter\Core.cs (1)
14internal interface IDefinition : IReference
PEWriter\Members.cs (1)
853internal interface ITypeMemberReference : IReference, INamedEntity
PEWriter\Types.cs (1)
606internal interface ITypeReference : IReference
PEWriter\Units.cs (1)
91internal interface IUnitReference : IReference, INamedEntity
1 implementation of IReference
Microsoft.CodeAnalysis (1)
Emit\NoPia\CommonEmbeddedMember.cs (1)
45internal abstract class CommonEmbeddedMember<TMember> : CommonEmbeddedMember, Cci.IReference
73 references to IReference
Microsoft.CodeAnalysis (73)
CodeGen\ArrayMembers.cs (1)
363Symbols.ISymbolInternal? Cci.IReference.GetInternalSymbol() => null;
CodeGen\ILBuilderEmit.cs (1)
49internal void EmitToken(Cci.IReference value, SyntaxNode? syntaxNode, DiagnosticBag diagnostics, Cci.MetadataWriter.RawTokenEncoding encoding = 0)
CodeGen\ITokenDeferral.cs (2)
12uint GetFakeSymbolTokenForIL(Cci.IReference value, SyntaxNode? syntaxNode, DiagnosticBag diagnostics); 28/// Gets the <see cref="Cci.IReference"/> or <see cref="Cci.ISignature"/> corresponding to this token.
CodeGen\PrivateImplementationDetails.cs (1)
682Symbols.ISymbolInternal? Cci.IReference.GetInternalSymbol() => null;
CodeGen\ReferenceDependencyWalker.cs (1)
21public static void VisitReference(Cci.IReference reference, EmitContext context)
CodeGen\TokenMap.cs (2)
21/// This map supports tokens of type <see cref="Cci.ISignature"/> and <see cref="Cci.IReference"/>. 31public uint GetOrAddTokenFor(IReference item, out bool referenceAdded)
Emit\CommonPEModuleBuilder.cs (4)
303IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context) => SpecializedCollections.EmptyEnumerable<Cci.ICustomAttribute>(); 305Cci.IDefinition Cci.IReference.AsDefinition(EmitContext context) 311Symbols.ISymbolInternal Cci.IReference.GetInternalSymbol() => null; 395public uint GetFakeSymbolTokenForIL(Cci.IReference symbol, SyntaxNode syntaxNode, DiagnosticBag diagnostics)
Emit\EditAndContinue\SymbolMatcher.cs (1)
23var adapter = symbol.GetCciAdapter();
Emit\ErrorType.cs (8)
168IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context) 173void Cci.IReference.Dispatch(Cci.MetadataVisitor visitor) 178Cci.IDefinition Cci.IReference.AsDefinition(EmitContext context) 183Symbols.ISymbolInternal Cci.IReference.GetInternalSymbol() => null; 232IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context) 237void Cci.IReference.Dispatch(Cci.MetadataVisitor visitor) 242Cci.IDefinition Cci.IReference.AsDefinition(EmitContext context) 247Symbols.ISymbolInternal Cci.IReference.GetInternalSymbol() => null;
Emit\NoPia\CommonEmbeddedEvent.cs (2)
174void Cci.IReference.Dispatch(Cci.MetadataVisitor visitor) 179Cci.IDefinition Cci.IReference.AsDefinition(EmitContext context)
Emit\NoPia\CommonEmbeddedField.cs (2)
181void Cci.IReference.Dispatch(Cci.MetadataVisitor visitor) 186Cci.IDefinition Cci.IReference.AsDefinition(EmitContext context)
Emit\NoPia\CommonEmbeddedMember.cs (4)
91IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context) 110void Cci.IReference.Dispatch(Cci.MetadataVisitor visitor) 115Cci.IDefinition Cci.IReference.AsDefinition(EmitContext context) 120Symbols.ISymbolInternal Cci.IReference.GetInternalSymbol() => null;
Emit\NoPia\CommonEmbeddedMethod.cs (2)
249void Cci.IReference.Dispatch(Cci.MetadataVisitor visitor) 254Cci.IDefinition Cci.IReference.AsDefinition(EmitContext context)
Emit\NoPia\CommonEmbeddedParameter.cs (4)
193IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context) 212void Cci.IReference.Dispatch(Cci.MetadataVisitor visitor) 217Cci.IDefinition Cci.IReference.AsDefinition(EmitContext context) 222CodeAnalysis.Symbols.ISymbolInternal Cci.IReference.GetInternalSymbol() => null;
Emit\NoPia\CommonEmbeddedProperty.cs (2)
202void Cci.IReference.Dispatch(Cci.MetadataVisitor visitor) 207Cci.IDefinition Cci.IReference.AsDefinition(EmitContext context)
Emit\NoPia\CommonEmbeddedType.cs (4)
532IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context) 551void Cci.IReference.Dispatch(Cci.MetadataVisitor visitor) 556Cci.IDefinition Cci.IReference.AsDefinition(EmitContext context) 561CodeAnalysis.Symbols.ISymbolInternal Cci.IReference.GetInternalSymbol() => null;
Emit\NoPia\CommonEmbeddedTypeParameter.cs (4)
203IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context) 209void Cci.IReference.Dispatch(Cci.MetadataVisitor visitor) 214Cci.IDefinition Cci.IReference.AsDefinition(EmitContext context) 219CodeAnalysis.Symbols.ISymbolInternal Cci.IReference.GetInternalSymbol() => null;
Emit\NoPia\VtblGap.cs (4)
172IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context) 177void Cci.IReference.Dispatch(Cci.MetadataVisitor visitor) 182Symbols.ISymbolInternal Cci.IReference.GetInternalSymbol() => null; 184Cci.IDefinition Cci.IReference.AsDefinition(EmitContext context)
IReferenceOrISignature.cs (1)
23public IReferenceOrISignature(IReference item) => _item = item;
PEWriter\FullMetadataWriter.cs (1)
429private readonly struct DefinitionIndex<T> where T : class, IReference
PEWriter\InheritedTypeParameter.cs (1)
201CodeAnalysis.Symbols.ISymbolInternal? Cci.IReference.GetInternalSymbol() => null;
PEWriter\MetadataWriter.cs (3)
1449symbol = (errorEntity as Cci.IReference)?.GetInternalSymbol(); 3126if (entity is IReference reference) 4296protected sealed class InstanceAndStructuralReferenceIndex<T> : HeapOrReferenceIndexBase<T> where T : class, IReference
PEWriter\ModifiedTypeReference.cs (4)
70IEnumerable<ICustomAttribute> IReference.GetAttributes(EmitContext context) 75void IReference.Dispatch(MetadataVisitor visitor) 143IDefinition? IReference.AsDefinition(EmitContext context) 148CodeAnalysis.Symbols.ISymbolInternal? Cci.IReference.GetInternalSymbol() => null;
PEWriter\ReferenceIndexer.cs (1)
67public void VisitMethodBodyReference(IReference reference)
PEWriter\ReturnValueParameter.cs (1)
117CodeAnalysis.Symbols.ISymbolInternal? Cci.IReference.GetInternalSymbol() => null;
PEWriter\RootModuleStaticConstructor.cs (1)
108CodeAnalysis.Symbols.ISymbolInternal Cci.IReference.GetInternalSymbol() => null;
PEWriter\RootModuleType.cs (3)
216void IReference.Dispatch(MetadataVisitor visitor) 322IDefinition IReference.AsDefinition(EmitContext context) 327CodeAnalysis.Symbols.ISymbolInternal? Cci.IReference.GetInternalSymbol() => null;
PEWriter\SymbolEquivalentEqualityComparer.cs (5)
11/// Allows for the comparison of two <see cref="IReference"/> instances or two <see cref="INamespace"/> 14internal sealed class SymbolEquivalentEqualityComparer : IEqualityComparer<IReference?>, IEqualityComparer<INamespace?> 22public bool Equals(IReference? x, IReference? y) 45public int GetHashCode(IReference? obj)
PEWriter\Types.cs (1)
414/// itself. Unlike <see cref="IReference.GetAttributes(EmitContext)"/> a
Symbols\ISymbolInternal.cs (2)
160/// Returns an <see cref="Cci.IReference"/> instance associated with this symbol. 165Cci.IReference GetCciAdapter();