1 write to AdaptedFieldSymbol
Microsoft.CodeAnalysis.VisualBasic (1)
Emit\FieldSymbolAdapter.vb (1)
294
AdaptedFieldSymbol
= underlyingFieldSymbol
31 references to AdaptedFieldSymbol
Microsoft.CodeAnalysis.VisualBasic (31)
Emit\FieldSymbolAdapter.vb (30)
32
Dim customModifiers =
AdaptedFieldSymbol
.CustomModifiers
33
Dim type = moduleBeingBuilt.Translate(
AdaptedFieldSymbol
.Type, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics)
60
If
AdaptedFieldSymbol
.IsDefinition AndAlso
AdaptedFieldSymbol
.ContainingModule = moduleBeingBuilt.SourceModule Then
71
If Not
AdaptedFieldSymbol
.IsDefinition Then
83
Return moduleBeingBuilt.Translate(
AdaptedFieldSymbol
.ContainingType, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics, needDeclaration:=
AdaptedFieldSymbol
.IsDefinition)
89
If Not
AdaptedFieldSymbol
.IsDefinition Then
92
If
AdaptedFieldSymbol
.ContainingModule = (DirectCast(visitor.Context.Module, PEModuleBuilder)).SourceModule Then
107
Return
AdaptedFieldSymbol
.MetadataName
113
Return
AdaptedFieldSymbol
.IsContextualNamedEntity
126
If
AdaptedFieldSymbol
.IsMetadataConstant Then
127
Return DirectCast(context.Module, PEModuleBuilder).CreateConstant(
AdaptedFieldSymbol
.Type,
AdaptedFieldSymbol
.ConstantValue, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics)
145
If
AdaptedFieldSymbol
.IsMetadataConstant Then
156
Return
AdaptedFieldSymbol
.IsNotSerialized
165
Return
AdaptedFieldSymbol
.IsReadOnly OrElse
166
AdaptedFieldSymbol
.IsConstButNotMetadataConstant
173
Return
AdaptedFieldSymbol
.HasRuntimeSpecialName
180
Return
AdaptedFieldSymbol
.HasSpecialName
187
Return
AdaptedFieldSymbol
.IsShared
194
Return
AdaptedFieldSymbol
.IsMarshalledExplicitly
201
Return
AdaptedFieldSymbol
.MarshallingInformation
208
Return
AdaptedFieldSymbol
.MarshallingDescriptor
215
Return If(
AdaptedFieldSymbol
.TypeLayoutOffset, 0)
222
Return
AdaptedFieldSymbol
.ContainingType.GetCciAdapter()
229
Return
AdaptedFieldSymbol
.MetadataVisibility
235
Debug.Assert(Not
AdaptedFieldSymbol
.IsDefinition)
236
Return
AdaptedFieldSymbol
.OriginalDefinition.GetCciAdapter()
309
Return
AdaptedFieldSymbol
Emit\SynthesizedStaticLocalBackingFieldAdapter.vb (1)
18
DirectCast(
AdaptedFieldSymbol
, SynthesizedStaticLocalBackingField).AssociateWithMetadataWriter(metadataWriter)