8 overrides of CanConstruct
Microsoft.CodeAnalysis.VisualBasic (8)
Symbols\ErrorTypeSymbol.vb (1)
318
Friend Overrides ReadOnly Property
CanConstruct
As Boolean
Symbols\InstanceTypeSymbol.vb (1)
46
Friend Overrides ReadOnly Property
CanConstruct
As Boolean
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (1)
720
Friend Overrides ReadOnly Property
CanConstruct
As Boolean
Symbols\SubstitutedNamedType.vb (3)
728
Friend Overrides ReadOnly Property
CanConstruct
As Boolean
893
Friend Overrides ReadOnly Property
CanConstruct
As Boolean
993
Friend Overrides ReadOnly Property
CanConstruct
As Boolean
Symbols\Tuples\TupleTypeSymbol.vb (1)
320
Friend Overrides ReadOnly Property
CanConstruct
As Boolean
Symbols\UnboundGenericType.vb (1)
303
Friend Overrides ReadOnly Property
CanConstruct
As Boolean
12 references to CanConstruct
Microsoft.CodeAnalysis.VisualBasic (2)
Binding\Binder_Symbols.vb (1)
900
Not genericType.
CanConstruct
Then
Symbols\NamedTypeSymbol.vb (1)
487
If Not
CanConstruct
OrElse Me IsNot ConstructedFrom Then
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (10)
SymbolsTests\InstantiatingGenerics.vb (9)
99
Assert.True(type Is constructedFrom OrElse Not type.
CanConstruct
, String.Format("Condition [{0} Is constructedFrom OrElse Not {1}] failed.", type.ToTestDisplayString(), type.
CanConstruct
))
100
Assert.True(type.Arity > 0 OrElse Not type.
CanConstruct
, String.Format("Condition [{0} > 0 OrElse Not {1}] failed.", type.Arity, type.
CanConstruct
))
128
Assert.False(type.
CanConstruct
)
143
Assert.False(type.
CanConstruct
)
166
If type.
CanConstruct
Then
593
Assert.False(c1OfIntInt_c2Of_c3Constructed.
CanConstruct
)
594
Assert.False(c1OfIntInt_c2Of_c3Constructed.ContainingType.
CanConstruct
)
SymbolsTests\Metadata\PE\MissingTypeReferences.vb (1)
292
Assert.True(missing.
CanConstruct
)