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