7 types derived from FieldSymbol
Microsoft.CodeAnalysis.VisualBasic (7)
Symbols\Metadata\PE\PEFieldSymbol.vb (1)
26Inherits FieldSymbol
Symbols\Retargeting\RetargetingFieldSymbol.vb (1)
23Inherits FieldSymbol
Symbols\Source\SourceFieldSymbol.vb (1)
19Inherits FieldSymbol
Symbols\Source\SynthesizedFieldSymbol.vb (1)
20Inherits FieldSymbol
Symbols\SubstitutedFieldSymbol.vb (1)
20Inherits FieldSymbol
Symbols\SynthesizedSymbols\SynthesizedBackingFieldBase.vb (1)
18Inherits FieldSymbol
Symbols\Wrapped\WrappedFieldSymbol.vb (1)
18Inherits FieldSymbol
126 references to FieldSymbol
Microsoft.CodeAnalysis.VisualBasic (126)
Binding\SyntheticBoundTrees\AnonymousTypeSyntheticMethods.vb (2)
260Dim field As FieldSymbol = [property].AssociatedField 301Private Function BuildBoxedFieldAccess(receiver As BoundExpression, field As FieldSymbol) As BoundExpression
Binding\SyntheticBoundTrees\SynthesizedPropertyAccessorBase.vb (2)
13backingField As FieldSymbol, 40Dim field As FieldSymbol = Nothing
Emit\AttributeDataAdapter.vb (1)
122Dim fieldSymbol = TryCast(sym, FieldSymbol)
Emit\FieldSymbolAdapter.vb (3)
291Friend ReadOnly Property AdaptedFieldSymbol As FieldSymbol 293Protected Sub New(underlyingFieldSymbol As FieldSymbol) 297Friend Shared Function Create(underlyingFieldSymbol As FieldSymbol) As FieldSymbolAdapter
Emit\NamedTypeSymbolAdapter.vb (2)
362Private Function IsWithEventsField(field As FieldSymbol) As Boolean 914Friend MustOverride Function GetFieldsToEmit() As IEnumerable(Of FieldSymbol)
Symbols\AnonymousTypes\PublicSymbols\AnonymousType_PropertyPublicAccessors.vb (1)
21Friend NotOverridable Overrides ReadOnly Property BackingFieldSymbol As FieldSymbol
Symbols\AnonymousTypes\PublicSymbols\AnonymousTypeOrDelegatePublicSymbol.vb (1)
251Friend NotOverridable Overrides Function GetFieldsToEmit() As IEnumerable(Of FieldSymbol)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousDelegate_TemplateSymbol.vb (2)
135Friend NotOverridable Overrides Function GetFieldsToEmit() As IEnumerable(Of FieldSymbol) 136Return SpecializedCollections.EmptyEnumerable(Of FieldSymbol)()
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_PropertyAccessors.vb (1)
25Friend NotOverridable Overrides ReadOnly Property BackingFieldSymbol As FieldSymbol
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_PropertySymbol.vb (2)
21Private ReadOnly _backingField As FieldSymbol 47Friend Overrides ReadOnly Property AssociatedField As FieldSymbol
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_TemplateSymbol.vb (2)
118Friend Overrides Iterator Function GetFieldsToEmit() As IEnumerable(Of FieldSymbol) 121Yield DirectCast(m, FieldSymbol)
Symbols\ConstantValueUtils.vb (1)
54fieldOrEnumSymbol As FieldSymbol,
Symbols\EmbeddedSymbols\EmbeddedSymbolManager.SymbolsCollection.vb (4)
279If Not DirectCast(member, FieldSymbol).IsConst Then 283Debug.Assert(Not DirectCast(member, FieldSymbol).Type.IsEmbedded) 340ValidateField(DirectCast(member, FieldSymbol)) 362Private Shared Sub ValidateField(field As FieldSymbol)
Symbols\ErrorTypeSymbol.vb (2)
99Friend Overrides Function GetFieldsToEmit() As IEnumerable(Of FieldSymbol) 100Return SpecializedCollections.EmptyEnumerable(Of FieldSymbol)()
Symbols\EventSymbol.vb (1)
98Friend MustOverride ReadOnly Property AssociatedField As FieldSymbol
Symbols\FieldOrPropertyInitializer.vb (1)
53Public Sub New(field As FieldSymbol, syntax As SyntaxReference, precedingInitializersLength As Integer)
Symbols\FieldSymbol.vb (5)
37Public Overridable Shadows ReadOnly Property OriginalDefinition As FieldSymbol 367Public Overridable ReadOnly Property TupleUnderlyingField() As FieldSymbol 377Public Overridable ReadOnly Property CorrespondingTupleField As FieldSymbol 394Friend Function AsMember(newOwner As NamedTypeSymbol) As FieldSymbol 399DirectCast(DirectCast(newOwner, SubstitutedNamedType).GetMemberForDefinition(Me), FieldSymbol))
Symbols\Metadata\PE\MemberRefMetadataDecoder.vb (2)
145Private Shared Function FindFieldBySignature(targetTypeSymbol As TypeSymbol, targetMemberName As String, fieldInfo As FieldInfo(Of TypeSymbol)) As FieldSymbol 152Dim field = TryCast(member, FieldSymbol)
Symbols\Metadata\PE\MetadataDecoder.vb (2)
19Inherits MetadataDecoder(Of PEModuleSymbol, TypeSymbol, MethodSymbol, FieldSymbol, Symbol) 446Protected Overrides Function FindFieldSymbolInType(typeSymbol As TypeSymbol, fieldDef As FieldDefinitionHandle) As FieldSymbol
Symbols\Metadata\PE\PEEventSymbol.vb (1)
235Friend Overrides ReadOnly Property AssociatedField As FieldSymbol
Symbols\Metadata\PE\PENamedTypeSymbol.vb (3)
390Dim type = DirectCast(member, FieldSymbol).Type 518Friend Overrides Function GetFieldsToEmit() As IEnumerable(Of FieldSymbol) 520Return GetMembers(Of FieldSymbol)(GetMembers(), SymbolKind.Field, offset:=0)
Symbols\Metadata\PE\PEPropertySymbol.vb (1)
319Friend Overrides ReadOnly Property AssociatedField As FieldSymbol
Symbols\NamedTypeSymbol.vb (1)
1257Dim field = TryCast(member, FieldSymbol)
Symbols\PropertySymbol.vb (1)
280Friend MustOverride ReadOnly Property AssociatedField As FieldSymbol
Symbols\Retargeting\RetargetingEventSymbol.vb (1)
93Friend Overrides ReadOnly Property AssociatedField As FieldSymbol
Symbols\Retargeting\RetargetingFieldSymbol.vb (3)
33Private ReadOnly _underlyingField As FieldSymbol 45Public Sub New(retargetingModule As RetargetingModuleSymbol, underlyingField As FieldSymbol) 64Public ReadOnly Property UnderlyingField As FieldSymbol
Symbols\Retargeting\RetargetingNamedTypeSymbol.vb (1)
301Friend Overrides Iterator Function GetFieldsToEmit() As IEnumerable(Of FieldSymbol)
Symbols\Retargeting\RetargetingPropertySymbol.vb (1)
115Friend Overrides ReadOnly Property AssociatedField As FieldSymbol
Symbols\Retargeting\RetargetingSymbolTranslator.vb (3)
54Return New RetargetingFieldSymbol(Me, DirectCast(symbol, FieldSymbol)) 1023Public Function Retarget(field As FieldSymbol) As RetargetingFieldSymbol 1138Public Overrides Function VisitField(symbol As FieldSymbol, options As RetargetOptions) As Symbol
Symbols\SignatureOnlyPropertySymbol.vb (1)
160Friend Overrides ReadOnly Property AssociatedField As FieldSymbol
Symbols\Source\LambdaSymbol.vb (1)
132meParameter = DirectCast(ContainingSymbol, FieldSymbol).MeParameter
Symbols\Source\SourceEventSymbol.vb (2)
32Private ReadOnly _backingField As FieldSymbol 506Friend Overrides ReadOnly Property AssociatedField As FieldSymbol
Symbols\Source\SourceMemberContainerTypeSymbol.vb (11)
2030Public ReadOnly FieldPath As ConsList(Of FieldSymbol) 2034Public Sub New(type As NamedTypeSymbol, fieldPath As ConsList(Of FieldSymbol), containingDefinitionsPath As ConsList(Of NamedTypeSymbol), report As Boolean) 2103data.Queue.Enqueue(New StructureCircularityDetectionDataSet.QueueElement(Me, ConsList(Of FieldSymbol).Empty, ConsList(Of NamedTypeSymbol).Empty.Prepend(Me), report:=True)) 2125Dim field = TryCast(member, FieldSymbol) 2145Dim cycleFields = New ConsList(Of FieldSymbol)(field, current.FieldPath) 2149Dim firstField As FieldSymbol = Nothing ' after the cycle is processed this will hold the last element in the list 2196fieldType.OriginalDefinition, New ConsList(Of FieldSymbol)(field, current.FieldPath), 2208fieldType, New ConsList(Of FieldSymbol)(field, current.FieldPath), 2372Dim fieldSymbol = DirectCast(fieldOrProperty, FieldSymbol) 3214Friend Overrides Iterator Function GetFieldsToEmit() As IEnumerable(Of FieldSymbol) 3217Yield DirectCast(member, FieldSymbol)
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (3)
790Friend Overrides Function GetFieldsToEmit() As IEnumerable(Of FieldSymbol) 791Return SpecializedCollections.EmptyEnumerable(Of FieldSymbol)() 1756Friend Overrides ReadOnly Property AssociatedField As FieldSymbol
Symbols\Source\SourcePropertySymbol.vb (2)
36Private _backingField As FieldSymbol 1002Friend Overrides ReadOnly Property AssociatedField As FieldSymbol
Symbols\Source\SynthesizedEventAccessorSymbol.vb (1)
141Dim field As FieldSymbol = eventSymbol.AssociatedField
Symbols\Source\SynthesizedMyGroupCollectionPropertyAccessorSymbol.vb (1)
33Friend Overrides ReadOnly Property BackingFieldSymbol As FieldSymbol
Symbols\Source\SynthesizedMyGroupCollectionPropertySymbol.vb (1)
89Friend Overrides ReadOnly Property AssociatedField As FieldSymbol
Symbols\Source\SynthesizedWithEventsAccessorSymbol.vb (1)
67Friend Overrides ReadOnly Property BackingFieldSymbol As FieldSymbol
Symbols\SubstitutedEventSymbol.vb (1)
179Friend Overrides ReadOnly Property AssociatedField As FieldSymbol
Symbols\SubstitutedFieldSymbol.vb (3)
23Private ReadOnly _originalDefinition As FieldSymbol 26originalDefinition As FieldSymbol) 92Public Overrides ReadOnly Property OriginalDefinition As FieldSymbol
Symbols\SubstitutedNamedType.vb (4)
313Protected Overridable Function SubstituteTypeParametersForMemberField(memberField As FieldSymbol) As SubstitutedFieldSymbol 385result.Add(SubstituteTypeParametersForMemberField(DirectCast(member, FieldSymbol))) 430Friend NotOverridable Overrides Function GetFieldsToEmit() As IEnumerable(Of FieldSymbol) 489Return SubstituteTypeParametersForMemberField(DirectCast(member, FieldSymbol))
Symbols\SubstitutedPropertySymbol.vb (1)
130Friend Overrides ReadOnly Property AssociatedField As FieldSymbol
Symbols\SymbolExtensions.vb (2)
325Return DirectCast(sym, FieldSymbol).MeParameter 488If(TryCast(member, FieldSymbol)?.IsRequired,
Symbols\SynthesizedSymbols\SynthesizedEventDelegateSymbol.vb (2)
92Friend Overrides Function GetFieldsToEmit() As IEnumerable(Of FieldSymbol) 93Return SpecializedCollections.EmptyEnumerable(Of FieldSymbol)()
Symbols\SynthesizedSymbols\SynthesizedHotReloadExceptionSymbol.vb (3)
40Public ReadOnly Property CodeField As FieldSymbol 42Return DirectCast(_members(1), FieldSymbol) 72Friend Overrides Function GetFieldsToEmit() As IEnumerable(Of FieldSymbol)
Symbols\SynthesizedSymbols\SynthesizedOverridingWitheventsProperty.vb (1)
124Friend Overrides ReadOnly Property AssociatedField As FieldSymbol
Symbols\SynthesizedSymbols\SynthesizedPropertyAccessorBase.vb (1)
14Friend MustOverride ReadOnly Property BackingFieldSymbol As FieldSymbol
Symbols\SynthesizedSymbols\SynthesizedPropertyBase.vb (1)
20Friend Overrides ReadOnly Property AssociatedField As FieldSymbol
Symbols\Tuples\TupleErrorFieldSymbol.vb (2)
86Public Overrides ReadOnly Property TupleUnderlyingField As FieldSymbol 112Public Overrides ReadOnly Property CorrespondingTupleField As FieldSymbol
Symbols\Tuples\TupleEventSymbol.vb (2)
56Friend Overrides ReadOnly Property AssociatedField As FieldSymbol 58Return Me._containingType.GetTupleMemberSymbolForUnderlyingMember(Of FieldSymbol)(Me._underlyingEvent.AssociatedField)
Symbols\Tuples\TupleFieldSymbol.vb (5)
34Public Overrides ReadOnly Property TupleUnderlyingField As FieldSymbol 86Public Sub New(container As TupleTypeSymbol, underlyingField As FieldSymbol, tupleElementIndex As Integer) 143underlyingField As FieldSymbol, 206Public Overrides ReadOnly Property CorrespondingTupleField As FieldSymbol 224underlyingField As FieldSymbol,
Symbols\Tuples\TuplePropertySymbol.vb (2)
74Friend Overrides ReadOnly Property AssociatedField As FieldSymbol 76Return Me._containingType.GetTupleMemberSymbolForUnderlyingMember(Of FieldSymbol)(Me._underlyingProperty.AssociatedField)
Symbols\Tuples\TupleTypeSymbol.vb (14)
48Private _lazyFields As ImmutableArray(Of FieldSymbol) 113Public Overrides ReadOnly Property TupleElements As ImmutableArray(Of FieldSymbol) 117ImmutableInterlocked.InterlockedInitialize(Of FieldSymbol)(Me._lazyFields, Me.CollectTupleElementFields()) 657Private Function CollectTupleElementFields() As ImmutableArray(Of FieldSymbol) 658Dim builder = ArrayBuilder(Of FieldSymbol).GetInstance(_elementTypes.Length, fillWithValue:=Nothing) 665Dim candidate = DirectCast(member, FieldSymbol) 699Dim currentFieldsForElements = ArrayBuilder(Of FieldSymbol).GetInstance(currentUnderlying.Arity) 715Dim field = DirectCast(member, FieldSymbol) 873Private Shared Sub CollectTargetTupleFields(underlying As NamedTypeSymbol, fieldsForElements As ArrayBuilder(Of FieldSymbol)) 878fieldsForElements.Add(CType(TupleTypeSymbol.GetWellKnownMemberInType(underlying, tupleTypeMember), FieldSymbol)) 893Dim associatedField As FieldSymbol = tupleUnderlyingEvent.AssociatedField 904Dim tupleUnderlyingField As FieldSymbol = DirectCast(symbol, FieldSymbol).TupleUnderlyingField 1033Friend Overrides Function GetFieldsToEmit() As IEnumerable(Of FieldSymbol)
Symbols\TypeSymbol.vb (1)
468Public Overridable ReadOnly Property TupleElements As ImmutableArray(Of FieldSymbol)
Symbols\UnboundGenericType.vb (1)
333Friend NotOverridable Overrides Function GetFieldsToEmit() As IEnumerable(Of FieldSymbol)
Symbols\Wrapped\WrappedFieldSymbol.vb (3)
20Protected _underlyingField As FieldSymbol 22Public ReadOnly Property UnderlyingField As FieldSymbol 130Public Sub New(underlyingField As FieldSymbol)