2 interfaces inheriting from IFieldReference
Microsoft.CodeAnalysis (2)
PEWriter\Members.cs (2)
172internal interface IFieldDefinition : ITypeDefinitionMember, IFieldReference 881internal interface ISpecializedFieldReference : IFieldReference
49 references to IFieldReference
Microsoft.CodeAnalysis (49)
CodeGen\ILBuilderEmit.cs (1)
103var field = module.GetFieldForData(data, alignment: 1, syntaxNode, diagnostics);
CodeGen\ITokenDeferral.cs (3)
16Cci.IFieldReference GetFieldForData(ImmutableArray<byte> data, ushort alignment, SyntaxNode syntaxNode, DiagnosticBag diagnostics); 20Cci.IFieldReference GetArrayCachingFieldForData(ImmutableArray<byte> data, Cci.IArrayTypeReference arrayType, SyntaxNode syntaxNode, DiagnosticBag diagnostics); 22Cci.IFieldReference GetArrayCachingFieldForConstants(ImmutableArray<ConstantValue> constants, Cci.IArrayTypeReference arrayType, SyntaxNode syntaxNode, DiagnosticBag diagnostics);
CodeGen\PrivateImplementationDetails.cs (6)
191internal Cci.IFieldReference CreateArrayCachingField(ImmutableArray<byte> data, Cci.IArrayTypeReference arrayType, EmitContext emitContext) 215internal Cci.IFieldReference CreateArrayCachingField(ImmutableArray<ConstantValue> constants, Cci.IArrayTypeReference arrayType, EmitContext emitContext) 249internal Cci.IFieldReference CreateDataField(ImmutableArray<byte> data, ushort alignment) 299internal Cci.IFieldReference GetModuleVersionId(Cci.ITypeReference mvidType) 311internal Cci.IFieldReference GetModuleCancellationToken(Cci.ITypeReference cancellationTokenType) 323internal Cci.IFieldReference GetOrAddInstrumentationPayloadRoot(int analysisKind, Cci.ITypeReference payloadRootType)
CodeGen\ReferenceDependencyWalker.cs (3)
37var fieldReference = reference as Cci.IFieldReference; 162private static void VisitFieldReference(Cci.IFieldReference fieldReference, EmitContext context)
Emit\CommonPEModuleBuilder.cs (6)
759internal Cci.IFieldReference GetModuleVersionId(Cci.ITypeReference mvidType, TSyntaxNode syntaxOpt, DiagnosticBag diagnostics) 767internal Cci.IFieldReference GetModuleCancellationToken(Cci.ITypeReference cancellationTokenType, TSyntaxNode syntaxOpt, DiagnosticBag diagnostics) 770internal Cci.IFieldReference GetInstrumentationPayloadRoot(int analysisKind, Cci.ITypeReference payloadType, TSyntaxNode syntaxOpt, DiagnosticBag diagnostics) 1020Cci.IFieldReference ITokenDeferral.GetFieldForData(ImmutableArray<byte> data, ushort alignment, SyntaxNode syntaxNode, DiagnosticBag diagnostics) 1030Cci.IFieldReference ITokenDeferral.GetArrayCachingFieldForData(ImmutableArray<byte> data, Cci.IArrayTypeReference arrayType, SyntaxNode syntaxNode, DiagnosticBag diagnostics) 1040public Cci.IFieldReference GetArrayCachingFieldForConstants(ImmutableArray<ConstantValue> constants, Cci.IArrayTypeReference arrayType, SyntaxNode syntaxNode, DiagnosticBag diagnostics)
Emit\NoPia\CommonEmbeddedField.cs (6)
199Cci.ITypeReference Cci.IFieldReference.GetType(EmitContext context) 204ImmutableArray<Cci.ICustomModifier> Cci.IFieldReference.RefCustomModifiers => UnderlyingField.RefCustomModifiers; 206bool Cci.IFieldReference.IsByReference => UnderlyingField.IsByReference; 208Cci.IFieldDefinition Cci.IFieldReference.GetResolvedField(EmitContext context) 213Cci.ISpecializedFieldReference Cci.IFieldReference.AsSpecializedFieldReference 221bool Cci.IFieldReference.IsContextualNamedEntity
Emit\NoPia\EmbeddedTypesManager.cs (2)
54where TFieldSymbol : class, TSymbol, Cci.IFieldReference 214internal Cci.IFieldReference EmbedFieldIfNeedTo(TFieldSymbol fieldSymbol, TSyntaxNode syntaxNodeOpt, DiagnosticBag diagnostics)
PEWriter\MemberRefComparer.cs (6)
41var xf = x as IFieldReference; 42var yf = y as IFieldReference; 62var fieldRef = memberRef as IFieldReference;
PEWriter\Members.cs (1)
889IFieldReference UnspecializedVersion { get; }
PEWriter\MetadataVisitor.cs (1)
125public virtual void Visit(IFieldReference fieldReference)
PEWriter\MetadataWriter.cs (8)
443private readonly Dictionary<IFieldReference, BlobHandle> _fieldSignatureIndex = new Dictionary<IFieldReference, BlobHandle>(ReferenceEqualityComparer.Instance); 805internal BlobHandle GetFieldSignatureIndex(IFieldReference fieldReference) 827internal EntityHandle GetFieldHandle(IFieldReference fieldReference) 935if (memberRef is IFieldReference) 1092IFieldReference fieldReference => this.GetFieldSignatureIndex(fieldReference), 3111IFieldReference fieldReference => GetFieldHandle(fieldReference), 3423private void SerializeFieldSignature(IFieldReference fieldReference, BlobBuilder builder)
PEWriter\ReferenceIndexer.cs (3)
78var fieldReference = reference as IFieldReference; 173protected override void ReserveFieldToken(IFieldReference fieldReference)
PEWriter\ReferenceIndexerBase.cs (2)
57public override void Visit(IFieldReference fieldReference) 76protected abstract void ReserveFieldToken(IFieldReference fieldReference);
PEWriter\TypeReferenceIndexer.cs (1)
58protected override void ReserveFieldToken(IFieldReference fieldReference)