33 references to Parent
Microsoft.CodeAnalysis.VisualBasic (33)
Symbols\InstanceErrorTypeSymbol.vb (2)
85
Debug.Assert(substitution.TargetGenericDefinition Is Me AndAlso substitution.
Parent
Is Nothing AndAlso substitution.Pairs.Length > 0)
92
Debug.Assert(newContainer.TypeSubstitution Is substitution.
Parent
) ' How can it be otherwise? The contained type didn't have any substitution before.
Symbols\InstanceTypeSymbol.vb (3)
91
If substitution.
Parent
Is Nothing Then
96
newContainer = DirectCast(Me.ContainingType.InternalSubstituteTypeParameters(substitution.
Parent
).AsTypeSymbolOnly(), NamedTypeSymbol)
112
Debug.Assert(newContainer.TypeSubstitution Is substitution.
Parent
) ' How can it be otherwise? The contained type didn't have any substitution before.
Symbols\SubstitutedErrorType.vb (3)
79
Dim substitution As TypeSubstitution = _substitution.
Parent
164
Debug.Assert(_substitution.
Parent
Is Nothing)
209
Return New SubstitutedErrorType(_container, _fullInstanceType, TypeSubstitution.Concat(_fullInstanceType, _substitution.
Parent
, substitution))
Symbols\SubstitutedMethodSymbol.vb (5)
669
Debug.Assert(_substitution.
Parent
IsNot Nothing)
670
Dim substitution = TypeSubstitution.Create(_substitution.
Parent
, _substitution.TargetGenericDefinition, typeArguments,
795
Debug.Assert(substitution.
Parent
Is constructedFrom.TypeSubstitution.
Parent
)
838
Debug.Assert(substitution.
Parent
Is Nothing)
Symbols\SubstitutedNamedType.vb (8)
619
Debug.Assert(substitution.
Parent
Is container.TypeSubstitution)
775
Debug.Assert(_substitution.
Parent
IsNot Nothing)
777
Dim substitution = TypeSubstitution.Create(_substitution.
Parent
, Me.OriginalDefinition, typeArguments,
868
If substitution.
Parent
IsNot parentsTypeSubstitution Then
1041
Debug.Assert(substitution.
Parent
Is Nothing)
1128
Debug.Assert(substitution.
Parent
Is constructedFrom.TypeSubstitution.
Parent
)
1171
Debug.Assert(newSubstitution.
Parent
Is Nothing AndAlso fullInstanceType.ContainingSymbol Is newContainer AndAlso
Symbols\TypeSubstitution.vb (12)
147
current = current.
Parent
175
current = current.
Parent
204
current = current.
Parent
228
current = current.
Parent
251
toCheck = toCheck.
Parent
269
current = current.
Parent
290
current = current.
Parent
350
If sub2.
Parent
Is Nothing Then
353
Return Concat(ConcatNotNulls(sub1, sub2.
Parent
), sub2.TargetGenericDefinition, sub2.Pairs)
707
(oldConstructSubstitution.
Parent
Is Nothing OrElse
708
adjustedParent.TargetGenericDefinition Is oldConstructSubstitution.
Parent
.TargetGenericDefinition)))
716
If pairsHaveChanged OrElse oldConstructSubstitution.
Parent
IsNot adjustedParent Then