2 types derived from SourceFieldSymbol
Microsoft.CodeAnalysis.VisualBasic (2)
Symbols\Source\SourceEnumConstantSymbol.vb (1)
14Inherits SourceFieldSymbol
Symbols\Source\SourceMemberFieldSymbol.vb (1)
17Inherits SourceFieldSymbol
1 instantiation of SourceFieldSymbol
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Source\SourceMemberFieldSymbol.vb (1)
29MyBase.New(container, syntaxRef, name, memberFlags)
46 references to SourceFieldSymbol
Microsoft.CodeAnalysis.VisualBasic (46)
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 (40)
225Dim builder = PooledHashSet(Of SourceFieldSymbol).GetInstance() 254Dim graph = PooledDictionary(Of SourceFieldSymbol, DependencyInfo).GetInstance() 262Dim fields = ArrayBuilder(Of SourceFieldSymbol).GetInstance() 270Dim map = New HashSet(Of SourceFieldSymbol)(order.Select(Function(o) o.Field).Distinct()) 282Public Dependencies As ImmutableHashSet(Of SourceFieldSymbol) 287Public DependedOnBy As ImmutableHashSet(Of SourceFieldSymbol) 294Private Sub CreateGraph(graph As Dictionary(Of SourceFieldSymbol, DependencyInfo)) 296Dim pending = ArrayBuilder(Of SourceFieldSymbol).GetInstance() 300Dim field As SourceFieldSymbol = pending.Pop() 310node.DependedOnBy = ImmutableHashSet(Of SourceFieldSymbol).Empty 313Dim dependencies As ImmutableHashSet(Of SourceFieldSymbol) = field.GetConstantValueDependencies() 323For Each dependency As SourceFieldSymbol In dependencies 328node.DependedOnBy = ImmutableHashSet(Of SourceFieldSymbol).Empty 345Private Function GetConstantValueDependencies() As ImmutableHashSet(Of SourceFieldSymbol) 351Return ImmutableHashSet(Of SourceFieldSymbol).Empty 354Dim builder = PooledHashSet(Of SourceFieldSymbol).GetInstance() 360Dim result As ImmutableHashSet(Of SourceFieldSymbol) 370result = ImmutableHashSet(Of SourceFieldSymbol).Empty 372result = ImmutableHashSet(Of SourceFieldSymbol).Empty.Union(builder) 381Private Shared Sub CheckGraph(graph As Dictionary(Of SourceFieldSymbol, DependencyInfo)) 387Dim field As SourceFieldSymbol = pair.Key 393For Each dependency As SourceFieldSymbol In node.Dependencies 400For Each dependedOnBy As SourceFieldSymbol In node.DependedOnBy 416Private Shared Sub OrderGraph(graph As Dictionary(Of SourceFieldSymbol, DependencyInfo), order As ArrayBuilder(Of FieldInfo)) 419Dim lastUpdated As PooledHashSet(Of SourceFieldSymbol) = Nothing 420Dim fieldsInvolvedInCycles As ArrayBuilder(Of SourceFieldSymbol) = Nothing 424Dim search = If(DirectCast(lastUpdated, IEnumerable(Of SourceFieldSymbol)), graph.Keys) 425Dim [set] = ArrayBuilder(Of SourceFieldSymbol).GetInstance() 436Dim updated = PooledHashSet(Of SourceFieldSymbol).GetInstance() 481Dim updated = PooledHashSet(Of SourceFieldSymbol).GetInstance() 510graph As Dictionary(Of SourceFieldSymbol, DependencyInfo), 511ByRef fieldsInvolvedInCycles As ArrayBuilder(Of SourceFieldSymbol) 512) As SourceFieldSymbol 516fieldsInvolvedInCycles = ArrayBuilder(Of SourceFieldSymbol).GetInstance(graph.Count) 524Dim field As SourceFieldSymbol = fieldsInvolvedInCycles.Pop() 532Private Shared Function IsPartOfCycle(graph As Dictionary(Of SourceFieldSymbol, DependencyInfo), field As SourceFieldSymbol) As Boolean 533Dim [set] = PooledHashSet(Of SourceFieldSymbol).GetInstance() 534Dim stack = ArrayBuilder(Of SourceFieldSymbol).GetInstance() 536Dim stopAt As SourceFieldSymbol = field
Symbols\Source\SourceMemberFieldSymbol.vb (1)
561Dim fieldSymbol As SourceFieldSymbol