1 write to AdaptedFieldSymbol
Microsoft.CodeAnalysis.VisualBasic (1)
Emit\FieldSymbolAdapter.vb (1)
288
AdaptedFieldSymbol
= underlyingFieldSymbol
48 references to AdaptedFieldSymbol
Microsoft.CodeAnalysis.VisualBasic (48)
Emit\FieldSymbolAdapter.vb (30)
26
Dim customModifiers =
AdaptedFieldSymbol
.CustomModifiers
27
Dim type = moduleBeingBuilt.Translate(
AdaptedFieldSymbol
.Type, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics)
54
If
AdaptedFieldSymbol
.IsDefinition AndAlso
AdaptedFieldSymbol
.ContainingModule = moduleBeingBuilt.SourceModule Then
65
If Not
AdaptedFieldSymbol
.IsDefinition Then
77
Return moduleBeingBuilt.Translate(
AdaptedFieldSymbol
.ContainingType, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics, needDeclaration:=
AdaptedFieldSymbol
.IsDefinition)
83
If Not
AdaptedFieldSymbol
.IsDefinition Then
86
If
AdaptedFieldSymbol
.ContainingModule = (DirectCast(visitor.Context.Module, PEModuleBuilder)).SourceModule Then
101
Return
AdaptedFieldSymbol
.MetadataName
107
Return
AdaptedFieldSymbol
.IsContextualNamedEntity
120
If
AdaptedFieldSymbol
.IsMetadataConstant Then
121
Return DirectCast(context.Module, PEModuleBuilder).CreateConstant(
AdaptedFieldSymbol
.Type,
AdaptedFieldSymbol
.ConstantValue, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics)
139
If
AdaptedFieldSymbol
.IsMetadataConstant Then
150
Return
AdaptedFieldSymbol
.IsNotSerialized
159
Return
AdaptedFieldSymbol
.IsReadOnly OrElse
160
AdaptedFieldSymbol
.IsConstButNotMetadataConstant
167
Return
AdaptedFieldSymbol
.HasRuntimeSpecialName
174
Return
AdaptedFieldSymbol
.HasSpecialName
181
Return
AdaptedFieldSymbol
.IsShared
188
Return
AdaptedFieldSymbol
.IsMarshalledExplicitly
195
Return
AdaptedFieldSymbol
.MarshallingInformation
202
Return
AdaptedFieldSymbol
.MarshallingDescriptor
209
Return If(
AdaptedFieldSymbol
.TypeLayoutOffset, 0)
216
Return
AdaptedFieldSymbol
.ContainingType.GetCciAdapter()
223
Return PEModuleBuilder.MemberVisibility(
AdaptedFieldSymbol
)
229
Debug.Assert(Not
AdaptedFieldSymbol
.IsDefinition)
230
Return
AdaptedFieldSymbol
.OriginalDefinition.GetCciAdapter()
303
Return
AdaptedFieldSymbol
Emit\NoPia\EmbeddedField.vb (13)
30
Return UnderlyingField.
AdaptedFieldSymbol
.GetCustomAttributesToEmit(moduleBuilder)
39
Return UnderlyingField.
AdaptedFieldSymbol
.IsMetadataConstant
45
Return UnderlyingField.
AdaptedFieldSymbol
.IsNotSerialized
51
Return UnderlyingField.
AdaptedFieldSymbol
.IsReadOnly
57
Return UnderlyingField.
AdaptedFieldSymbol
.HasRuntimeSpecialName
63
Return UnderlyingField.
AdaptedFieldSymbol
.HasSpecialName
69
Return UnderlyingField.
AdaptedFieldSymbol
.IsShared
75
Return UnderlyingField.
AdaptedFieldSymbol
.IsMarshalledExplicitly
81
Return UnderlyingField.
AdaptedFieldSymbol
.MarshallingInformation
87
Return UnderlyingField.
AdaptedFieldSymbol
.MarshallingDescriptor
93
Return UnderlyingField.
AdaptedFieldSymbol
.TypeLayoutOffset
99
Return PEModuleBuilder.MemberVisibility(UnderlyingField.
AdaptedFieldSymbol
)
105
Return UnderlyingField.
AdaptedFieldSymbol
.MetadataName
Emit\NoPia\EmbeddedTypesManager.vb (4)
351
Debug.Assert(field.
AdaptedFieldSymbol
.IsDefinition)
366
Dim containerKind = field.
AdaptedFieldSymbol
.ContainingType.TypeKind
371
(containerKind = TypeKind.Structure AndAlso (field.
AdaptedFieldSymbol
.IsShared OrElse field.
AdaptedFieldSymbol
.DeclaredAccessibility <> Accessibility.Public)) Then
Emit\SynthesizedStaticLocalBackingFieldAdapter.vb (1)
18
DirectCast(
AdaptedFieldSymbol
, SynthesizedStaticLocalBackingField).AssociateWithMetadataWriter(metadataWriter)