56 references to TargetGenericDefinition
Microsoft.CodeAnalysis.VisualBasic (56)
Symbols\InstanceErrorTypeSymbol.vb (2)
85Debug.Assert(substitution.TargetGenericDefinition Is Me AndAlso substitution.Parent Is Nothing AndAlso substitution.Pairs.Length > 0) 90If substitution.TargetGenericDefinition Is Me Then
Symbols\InstanceTypeSymbol.vb (3)
60Debug.Assert(substitution.TargetGenericDefinition Is Me) 89If substitution.TargetGenericDefinition Is Me Then 111If substitution.TargetGenericDefinition Is Me Then
Symbols\MethodSymbol.vb (1)
632Debug.Assert(substitution.TargetGenericDefinition Is Me)
Symbols\SubstitutedErrorType.vb (2)
81Debug.Assert(substitution IsNot Nothing AndAlso substitution.TargetGenericDefinition Is Me.ContainingType.OriginalDefinition) 217Debug.Assert(substitution.TargetGenericDefinition Is fullInstanceType)
Symbols\SubstitutedMethodSymbol.vb (10)
590container.TypeSubstitution.TargetGenericDefinition Is originalDefinition.ContainingSymbol) 592Debug.Assert(substitution.TargetGenericDefinition Is originalDefinition) 604Debug.Assert(substitution.TargetGenericDefinition.IsDefinition) 605Debug.Assert(Not typeParameters.IsDefault AndAlso typeParameters.Length = DirectCast(substitution.TargetGenericDefinition, MethodSymbol).Arity) 632Return DirectCast(_substitution.TargetGenericDefinition, MethodSymbol) 674Dim substitution = TypeSubstitution.Create(_substitution.Parent, _substitution.TargetGenericDefinition, typeArguments, 709Debug.Assert(substitution.TargetGenericDefinition.IsDefinition) 722Return DirectCast(_substitution.TargetGenericDefinition, MethodSymbol) 796Debug.Assert(substitution.TargetGenericDefinition Is constructedFrom.OriginalDefinition) 843Debug.Assert(typeArguments.Length = DirectCast(substitution.TargetGenericDefinition, MethodSymbol).Arity)
Symbols\SubstitutedNamedType.vb (13)
33Debug.Assert(substitution.TargetGenericDefinition.IsDefinition) 34Debug.Assert(TypeOf substitution.TargetGenericDefinition Is InstanceTypeSymbol) ' Required to ensure symmetrical equality 94Return DirectCast(_substitution.TargetGenericDefinition, NamedTypeSymbol) 692container.TypeSubstitution.TargetGenericDefinition Is fullInstanceType.ContainingSymbol) 694Debug.Assert(substitution.TargetGenericDefinition Is fullInstanceType) 706Debug.Assert(Not typeParameters.IsDefault AndAlso typeParameters.Length = DirectCast(substitution.TargetGenericDefinition, NamedTypeSymbol).Arity) 859Debug.Assert(parentsTypeSubstitution.TargetGenericDefinition Is fullInstanceType.ContainingSymbol) 861If substitution.TargetGenericDefinition IsNot fullInstanceType Then 864Debug.Assert(substitution.TargetGenericDefinition Is fullInstanceType) 1098Debug.Assert(substitution.TargetGenericDefinition Is _substitution.TargetGenericDefinition) 1127Debug.Assert(substitution.TargetGenericDefinition Is constructedFrom.OriginalDefinition) 1172newSubstitution.TargetGenericDefinition Is fullInstanceType)
Symbols\SubstitutedTypeParameterSymbol.vb (1)
202If substitution.TargetGenericDefinition Is _containingSymbol Then
Symbols\TypeSubstitution.vb (23)
131Debug.Assert(tp.IsDefinition OrElse TargetGenericDefinition Is tp.ContainingSymbol) 138If current.TargetGenericDefinition Is containingSymbol Then 164If current.TargetGenericDefinition Is originalDefinition Then 194If current.TargetGenericDefinition Is originalDefinition.ContainingSymbol Then 218If current.TargetGenericDefinition Is originalDefinition Then 265If current.TargetGenericDefinition Is targetGenericDefinition Then 306If current Is Me.TargetGenericDefinition Then 330Debug.Assert(sub2 Is Nothing OrElse sub2.TargetGenericDefinition Is targetGenericDefinition) 335Debug.Assert(sub1.TargetGenericDefinition.IsDefinition) 338If targetGenericDefinition Is sub1.TargetGenericDefinition Then 351Return Concat(sub1, sub2.TargetGenericDefinition, sub2.Pairs) 353Return Concat(ConcatNotNulls(sub1, sub2.Parent), sub2.TargetGenericDefinition, sub2.Pairs) 462If currentParent IsNot Nothing AndAlso currentParent.TargetGenericDefinition IsNot targetGenericDefinition Then 515If parent Is Nothing OrElse parent.TargetGenericDefinition Is targetGenericDefinition.ContainingType Then 533builder.AppendFormat("{0} : ", TargetGenericDefinition) 571Debug.Assert(parent Is Nothing OrElse targetGenericDefinition.ContainingSymbol Is parent.TargetGenericDefinition) 592Debug.Assert(parent.TargetGenericDefinition Is memberDefinition.ContainingSymbol) 703Debug.Assert(oldConstructSubstitution IsNot Nothing AndAlso oldConstructSubstitution.TargetGenericDefinition.IsDefinition) 706(adjustedParent.TargetGenericDefinition.IsDefinition AndAlso 708adjustedParent.TargetGenericDefinition Is oldConstructSubstitution.Parent.TargetGenericDefinition))) 722oldConstructSubstitution.TargetGenericDefinition, 753Dim targetGenericDefinition As Symbol = oldConstructSubstitution.TargetGenericDefinition
Symbols\UnboundGenericType.vb (1)
581Debug.Assert(substitution.TargetGenericDefinition Is originalDefinition)