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