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