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