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