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