1 write to _symList
Microsoft.CodeAnalysis.VisualBasic (1)
Binding\LookupResult.vb (1)
348
_symList
= New ArrayBuilder(Of Symbol)
51 references to _symList
Microsoft.CodeAnalysis.VisualBasic (51)
Binding\LookupResult.vb (51)
304
Return
_symList
.Count > 0
310
Return
_symList
.Count = 1
316
Return
_symList
323
Return
_symList
(0)
365
_symList
.Clear()
371
Return _kind = LookupResultKind.Empty AndAlso
_symList
.Count = 0 AndAlso _diagInfo Is Nothing
377
_symList
.Clear()
379
_symList
.Add(sym)
396
_symList
.Clear()
397
_symList
.AddRange(other.
_symList
)
540
_symList
.Add(other.Symbol)
546
_symList
.Add(other.Symbol)
560
_symList
.AddRange(other.Symbols)
579
_symList
.AddRange(other.Symbols)
600
_symList
.Add(other.Symbol)
619
_symList
.Add(other.Symbol)
644
_symList
.Add(other.Symbol)
653
_symList
.Add(other.Symbol)
664
For i = 0 To
_symList
.Count - 1
665
Dim accessibilityCmp As Integer = CompareAccessibilityOfSymbolsConflictingInSameContainer(
_symList
(i), other.Symbol)
671
_symList
(i) = Nothing
677
If lost =
_symList
.Count Then
684
Debug.Assert(lost + ambiguous <
_symList
.Count)
694
Debug.Assert(ambiguous =
_symList
.Count - lost)
699
Debug.Assert(
_symList
.Count > 0)
707
If
_symList
.Count = 1 AndAlso ambiguous = 1 AndAlso AreEquivalentEnumConstants(
_symList
(0), other.Symbol) Then
717
Dim accessibilityCmp As Integer = CompareAccessibilityOfSymbolsConflictingInSameContainer(
_symList
(0), other.Symbol)
729
For i = 0 To
_symList
.Count - 1
730
Debug.Assert(
_symList
(i).DeclaredAccessibility = other.Symbol.DeclaredAccessibility)
763
For i = 0 To
_symList
.Count - 1
764
If
_symList
(i) Is Nothing Then
769
Debug.Assert(i <
_symList
.Count)
770
Dim left As Integer =
_symList
.Count - lost
774
For j = i + 1 To
_symList
.Count - 1
775
If
_symList
(j) IsNot Nothing Then
776
_symList
(i) =
_symList
(j)
785
For j = j + 1 To
_symList
.Count - 1
786
Debug.Assert(
_symList
(j) Is Nothing)
791
_symList
.Clip(left)
798
For i = 0 To
_symList
.Count - 1
799
If
_symList
(i) IsNot Nothing AndAlso
_symList
(i).DeclaredAccessibility = other.DeclaredAccessibility Then
800
_symList
(i) = Nothing
810
For i = i + 1 To
_symList
.Count - 1
811
Debug.Assert(
_symList
(i) Is Nothing OrElse
_symList
(i).DeclaredAccessibility <> other.DeclaredAccessibility)
1036
_symList
.Clear()
1037
_symList
.Add(newSym)