2 types derived from SourceFieldSymbol
Microsoft.CodeAnalysis.VisualBasic (2)
Symbols\Source\SourceEnumConstantSymbol.vb (1)
15Inherits SourceFieldSymbol
Symbols\Source\SourceMemberFieldSymbol.vb (1)
18Inherits SourceFieldSymbol
63 references to SourceFieldSymbol
Microsoft.CodeAnalysis.VisualBasic (63)
Binding\Binder_Initializers.vb (5)
144Dim fieldSymbol = DirectCast(firstFieldOrProperty, SourceFieldSymbol) 150Dim fieldSymbol = DirectCast(firstFieldOrProperty, SourceFieldSymbol) 228fieldSymbol As SourceFieldSymbol, 270Dim firstFieldSymbol = DirectCast(fieldSymbols.First, SourceFieldSymbol) 450fieldSymbol As SourceFieldSymbol,
Binding\BinderBuilder.vb (1)
431declarationSyntax = DirectCast(fieldOrProperty, SourceFieldSymbol).DeclarationSyntax
Binding\ConstantFieldsInProgress.vb (6)
16Private ReadOnly _fieldOpt As SourceFieldSymbol 21Friend Sub New(fieldOpt As SourceFieldSymbol, dependencies As Dependencies) 36Friend Sub AddDependency(field As SourceFieldSymbol) 46Private ReadOnly _builder As HashSet(Of SourceFieldSymbol) 48Friend Sub New(builder As HashSet(Of SourceFieldSymbol)) 53Friend Sub Add(field As SourceFieldSymbol)
Binding\InitializerSemanticModel.vb (3)
46Dim fieldSymbol = DirectCast(Me.MemberSymbol, SourceFieldSymbol) 113Dim fieldSymbol = DirectCast(Me.MemberSymbol, SourceFieldSymbol) 170Dim fieldSymbol = TryCast(Me.RootBinder.ContainingMember, SourceFieldSymbol)
Compilation\DocumentationComments\DocumentationCommentCompiler.Field.vb (2)
29Dim sourceField = TryCast(symbol, SourceFieldSymbol) 36Private Sub WriteDocumentationCommentForField(field As SourceFieldSymbol)
Compilation\SyntaxTreeSemanticModel.vb (2)
1167Return DirectCast(SourceFieldSymbol.FindFieldOrWithEventsSymbolFromSyntax(declarationSyntax.Identifier, _syntaxTree, containingType), FieldSymbol) 1204Return SourceFieldSymbol.FindFieldOrWithEventsSymbolFromSyntax(declarationSyntax.Identifier, _syntaxTree, containingType)
Symbols\ConstantValueUtils.vb (5)
25Public Function EvaluateFieldConstant(field As SourceFieldSymbol, equalsValueOrAsNewNodeRef As SyntaxReference, dependencies As ConstantFieldsInProgress.Dependencies, diagnostics As BindingDiagnosticBag) As EvaluatedConstant 59Debug.Assert(TypeOf fieldOrEnumSymbol Is SourceEnumConstantSymbol OrElse TypeOf fieldOrEnumSymbol Is SourceFieldSymbol) 65Dim fieldConstant = DirectCast(fieldOrEnumSymbol, SourceFieldSymbol) 72Public ReadOnly Field As SourceFieldSymbol 75Public Sub New(field As SourceFieldSymbol, startsCycle As Boolean)
Symbols\Source\SourceFieldSymbol.vb (38)
239Dim builder = PooledHashSet(Of SourceFieldSymbol).GetInstance() 268Dim graph = PooledDictionary(Of SourceFieldSymbol, DependencyInfo).GetInstance() 296Public Dependencies As ImmutableHashSet(Of SourceFieldSymbol) 301Public DependedOnBy As ImmutableHashSet(Of SourceFieldSymbol) 308Private Sub CreateGraph(graph As Dictionary(Of SourceFieldSymbol, DependencyInfo)) 310Dim pending = ArrayBuilder(Of SourceFieldSymbol).GetInstance() 314Dim field As SourceFieldSymbol = pending.Pop() 324node.DependedOnBy = ImmutableHashSet(Of SourceFieldSymbol).Empty 327Dim dependencies As ImmutableHashSet(Of SourceFieldSymbol) = field.GetConstantValueDependencies() 337For Each dependency As SourceFieldSymbol In dependencies 342node.DependedOnBy = ImmutableHashSet(Of SourceFieldSymbol).Empty 359Private Function GetConstantValueDependencies() As ImmutableHashSet(Of SourceFieldSymbol) 365Return ImmutableHashSet(Of SourceFieldSymbol).Empty 368Dim builder = PooledHashSet(Of SourceFieldSymbol).GetInstance() 374Dim result As ImmutableHashSet(Of SourceFieldSymbol) 384result = ImmutableHashSet(Of SourceFieldSymbol).Empty 386result = ImmutableHashSet(Of SourceFieldSymbol).Empty.Union(builder) 395Private Shared Sub CheckGraph(graph As Dictionary(Of SourceFieldSymbol, DependencyInfo)) 401Dim field As SourceFieldSymbol = pair.Key 407For Each dependency As SourceFieldSymbol In node.Dependencies 414For Each dependedOnBy As SourceFieldSymbol In node.DependedOnBy 430Private Shared Sub OrderGraph(graph As Dictionary(Of SourceFieldSymbol, DependencyInfo), order As ArrayBuilder(Of FieldInfo)) 433Dim lastUpdated As PooledHashSet(Of SourceFieldSymbol) = Nothing 434Dim fieldsInvolvedInCycles As ArrayBuilder(Of SourceFieldSymbol) = Nothing 438Dim search = If(DirectCast(lastUpdated, IEnumerable(Of SourceFieldSymbol)), graph.Keys) 439Dim [set] = ArrayBuilder(Of SourceFieldSymbol).GetInstance() 450Dim updated = PooledHashSet(Of SourceFieldSymbol).GetInstance() 495Dim updated = PooledHashSet(Of SourceFieldSymbol).GetInstance() 524graph As Dictionary(Of SourceFieldSymbol, DependencyInfo), 525ByRef fieldsInvolvedInCycles As ArrayBuilder(Of SourceFieldSymbol) 526) As SourceFieldSymbol 530fieldsInvolvedInCycles = ArrayBuilder(Of SourceFieldSymbol).GetInstance(graph.Count) 538Dim field As SourceFieldSymbol = fieldsInvolvedInCycles.Pop() 546Private Shared Function IsPartOfCycle(graph As Dictionary(Of SourceFieldSymbol, DependencyInfo), field As SourceFieldSymbol) As Boolean 547Dim [set] = PooledHashSet(Of SourceFieldSymbol).GetInstance() 548Dim stack = ArrayBuilder(Of SourceFieldSymbol).GetInstance() 550Dim stopAt As SourceFieldSymbol = field
Symbols\Source\SourceMemberFieldSymbol.vb (1)
575Dim fieldSymbol As SourceFieldSymbol