1 override of IsUnboundGenericType
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\UnboundGenericType.vb (1)
91
Public MustOverride Overrides ReadOnly Property
IsUnboundGenericType
As Boolean
46 references to IsUnboundGenericType
Microsoft.CodeAnalysis.VisualBasic (10)
Binding\Binder_ObjectInitializer.vb (1)
245
If namedCoClass.
IsUnboundGenericType
Then
Binding\Binder_Symbols.vb (2)
976
Dim isLeftUnboundGenericType As Boolean = leftSymbol.Kind = SymbolKind.NamedType AndAlso DirectCast(leftSymbol, NamedTypeSymbol).
IsUnboundGenericType
1053
Dim isLeftUnboundGenericType As Boolean = leftSymbol.Kind = SymbolKind.NamedType AndAlso DirectCast(leftSymbol, NamedTypeSymbol).
IsUnboundGenericType
Emit\SymbolTranslator.vb (1)
158
If namedTypeSymbol.
IsUnboundGenericType
Then
Symbols\NamedTypeSymbol.vb (2)
1132
Return Me.
IsUnboundGenericType
1293
If Not
IsUnboundGenericType
AndAlso
Symbols\Retargeting\RetargetingSymbolTranslator.vb (2)
405
If type.
IsUnboundGenericType
Then
413
Debug.Assert(type.ContainingType Is Nothing OrElse Not type.ContainingType.
IsUnboundGenericType
)
Symbols\TypeSymbolExtensions.vb (1)
781
Return namedType IsNot Nothing AndAlso namedType.
IsUnboundGenericType
Symbols\UnboundGenericType.vb (1)
30
If type.
IsUnboundGenericType
Then
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (2)
Attributes\AttributeTests.vb (2)
4439
Assert.True(typeInAttribute.
IsUnboundGenericType
)
4449
Assert.True(typeInAttribute.
IsUnboundGenericType
)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (34)
SymbolsTests\InstantiatingGenerics.vb (9)
96
Assert.False(type.OriginalDefinition.
IsUnboundGenericType
)
127
If Not type.
IsUnboundGenericType
AndAlso containingType.
IsUnboundGenericType
Then
134
If type.
IsUnboundGenericType
OrElse (containingType IsNot Nothing AndAlso containingType.
IsUnboundGenericType
) Then
142
If type.
IsUnboundGenericType
Then
148
Assert.Equal(containingType.IsGenericType, containingType.
IsUnboundGenericType
)
155
ElseIf containingType IsNot Nothing AndAlso Not containingType.
IsUnboundGenericType
Then
159
Assert.False(containingType.
IsUnboundGenericType
)
SymbolsTests\UnboundGenericType.vb (25)
75
Assert.False(c1.
IsUnboundGenericType
)
76
Assert.False(c2.
IsUnboundGenericType
)
77
Assert.False(c3.
IsUnboundGenericType
)
78
Assert.False(c4.
IsUnboundGenericType
)
79
Assert.False(c5.
IsUnboundGenericType
)
80
Assert.False(c6.
IsUnboundGenericType
)
88
Assert.True(u_c2.
IsUnboundGenericType
)
107
Assert.True(u_c3.
IsUnboundGenericType
)
118
Assert.Equal(0, u_c3.GetMembers().As(Of NamedTypeSymbol)().Where(Function(s) Not s.ContainingType.
IsUnboundGenericType
OrElse s.
IsUnboundGenericType
<> (s.Arity = 0)).Count)
120
Assert.Equal(0, u_c3.GetMembers("c6").As(Of NamedTypeSymbol)().Where(Function(s) Not s.ContainingType.
IsUnboundGenericType
OrElse s.
IsUnboundGenericType
<> (s.Arity = 0)).Count)
123
Assert.Equal(0, u_c3.GetTypeMembers().As(Of NamedTypeSymbol)().Where(Function(s) Not s.ContainingType.
IsUnboundGenericType
OrElse s.
IsUnboundGenericType
<> (s.Arity = 0)).Count)
125
Assert.Equal(0, u_c3.GetTypeMembers("c4").As(Of NamedTypeSymbol)().Where(Function(s) Not s.ContainingType.
IsUnboundGenericType
OrElse s.
IsUnboundGenericType
<> (s.Arity = 0)).Count)
127
Assert.Equal(0, u_c3.GetTypeMembers("c6", 1).Where(Function(s) Not s.ContainingType.
IsUnboundGenericType
OrElse s.
IsUnboundGenericType
<> (s.Arity = 0)).Count)
133
Assert.True(u_c4.
IsUnboundGenericType
)
153
Assert.True(u_c5.
IsUnboundGenericType
)
178
Assert.False(u_c5_cf.
IsUnboundGenericType
)
195
Assert.True(u_c6.
IsUnboundGenericType
)
212
Assert.False(u_c6_cf.
IsUnboundGenericType
)
220
Assert.True(u_c7.
IsUnboundGenericType
)
237
Assert.False(u_c7_cf.
IsUnboundGenericType
)