1 override of IsTupleType
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Tuples\TupleTypeSymbol.vb (1)
72
Public Overrides ReadOnly Property
IsTupleType
As Boolean
75 references to IsTupleType
Microsoft.CodeAnalysis.VisualBasic (40)
Binding\Binder_Conversions.vb (1)
1639
If targetType.
IsTupleType
Then
Binding\Binder_Symbols.vb (1)
298
Not typeSymbol.IsArrayType() AndAlso Not typeSymbol.
IsTupleType
AndAlso typeSymbol.IsDefinition Then
Compilation\ClsComplianceChecker.vb (2)
603
If type.
IsTupleType
Then
644
If type.
IsTupleType
Then
DocumentationComments\DocumentationCommentIDVisitor.PartVisitor.vb (1)
132
If symbol.
IsTupleType
Then
Emit\EditAndContinue\VisualBasicSymbolMatcher.vb (5)
423
ElseIf type.
IsTupleType
Then
587
Debug.Assert(Not type.
IsTupleType
)
588
Debug.Assert(Not other.
IsTupleType
)
727
If type.
IsTupleType
Then
729
Debug.Assert(Not type.
IsTupleType
)
Emit\NoPia\EmbeddedTypesManager.vb (1)
227
If type.
IsTupleType
Then
Emit\SymbolTranslator.vb (3)
124
ElseIf namedTypeSymbol.
IsTupleType
Then
381
Debug.Assert(container.
IsTupleType
)
386
Debug.Assert(Not container.
IsTupleType
)
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (1)
189
If srcType.
IsTupleType
Then
Semantics\AccessCheck.vb (1)
609
If exposedNamedType.
IsTupleType
Then
Semantics\Conversions.vb (1)
3565
If Not source.
IsTupleType
Then
Symbols\ConstraintsHelper.vb (1)
493
Debug.Assert(Not type.
IsTupleType
)
Symbols\Metadata\PE\MetadataDecoder.vb (2)
216
If symbol.
IsTupleType
Then
466
Debug.Assert(Not targetTypeSymbol.
IsTupleType
)
Symbols\Metadata\PE\TupleTypeDecoder.vb (1)
158
Return If(type.
IsTupleType
,
Symbols\NamedTypeSymbol.vb (2)
1287
If
IsTupleType
Then
1314
If typeToCheck.
IsTupleType
Then
Symbols\Retargeting\RetargetingSymbolTranslator.vb (2)
154
If type.
IsTupleType
Then
556
If namedType.
IsTupleType
Then
Symbols\Tuples\TupleTypeSymbol.vb (5)
347
Debug.Assert(Not underlyingType.
IsTupleType
)
429
If Not tupleCompatibleType.TypeArgumentsNoUseSiteDiagnostics(TupleTypeSymbol.RestPosition - 1).
IsTupleType
Then
438
If Not namedTypeSymbol.
IsTupleType
Then
478
Debug.Assert(Not newUnderlyingType.
IsTupleType
AndAlso newUnderlyingType.IsTupleOrCompatibleWithTupleOfCardinality(Me._elementTypes.Length))
515
Dim isTupleType As Boolean = namedTypeSymbol.
IsTupleType
Symbols\TypeSymbol.vb (2)
499
If (
IsTupleType
) Then
560
Return Me.
IsTupleType
Symbols\TypeSymbolExtensions.vb (4)
66
If type.
IsTupleType
Then
96
If Type.
IsTupleType
Then
800
Private ReadOnly s_isTupleTypeFunc As Func(Of TypeSymbol, Object, Boolean) = Function(type, arg) type.
IsTupleType
869
If current.
IsTupleType
Then
Symbols\WellKnownMembers.vb (1)
751
If type.
IsTupleType
Then
Utilities\TypeUnification.vb (3)
114
If nt1.
IsTupleType
OrElse nt2.
IsTupleType
Then
246
Dim typeParts = If(namedType.
IsTupleType
, namedType.TupleElementTypes, namedType.TypeArgumentsNoUseSiteDiagnostics)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (29)
Attributes\AttributeTests_Tuples.vb (5)
366
Assert.True(firstTuple.
IsTupleType
)
370
Assert.True(secondTuple.
IsTupleType
)
376
Assert.False(field7.Type.
IsTupleType
)
761
Assert.True(typeArg.
IsTupleType
)
866
Assert.True(typeArg.
IsTupleType
)
CodeGen\CodeGenTuples.vb (24)
4699
Assert.True(xSymbol.
IsTupleType
)
5749
Assert.True(mTuple.
IsTupleType
)
7532
Assert.False(intType.
IsTupleType
)
9101
Assert.True(methodM.ReturnType.
IsTupleType
)
9939
Assert.True(validField.Type.
IsTupleType
)
9944
Assert.False(validFieldWithAttribute.Type.
IsTupleType
)
10036
Assert.True(validField.Type.
IsTupleType
)
10041
Assert.False(validFieldWithAttribute.Type.
IsTupleType
)
10046
Assert.True(partialNames.Type.
IsTupleType
)
10051
Assert.True(allNullNames.Type.
IsTupleType
)
10057
Assert.True(partialParamType.
IsTupleType
)
10063
Assert.True(allNullParamType.
IsTupleType
)
10105
Assert.True(field1.Type.
IsTupleType
)
10113
Assert.True(first.
IsTupleType
)
10118
Assert.True(second.
IsTupleType
)
15037
Assert.True(m1Tuple.
IsTupleType
)
15408
Assert.True(m3TupleRestTuple.
IsTupleType
)
16295
Assert.True(m1Tuple.
IsTupleType
)
20502
Assert.True(typeArg.
IsTupleType
)
20517
Assert.True(typeArg.
IsTupleType
)
22540
Assert.True(tuple.
IsTupleType
)
22547
Assert.False(tuple.
IsTupleType
)
22626
Assert.True(tuple.
IsTupleType
)
22631
Assert.False(tuple.
IsTupleType
)
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler.UnitTests (6)
TupleTests.vb (6)
56
Assert.True(method.ReturnType.
IsTupleType
)
190
Assert.True(method.ReturnType.
IsTupleType
)
232
Assert.True(method.ReturnType.
IsTupleType
)
280
Assert.False(returnType.
IsTupleType
)
467
Assert.False(returnType.
IsTupleType
)
468
Assert.True(DirectCast(returnType, ArrayTypeSymbol).ElementType.
IsTupleType
)