1 override of IsTupleType
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Tuples\TupleTypeSymbol.cs (1)
529
public sealed override bool
IsTupleType
23 references to IsTupleType
Microsoft.CodeAnalysis.CSharp (23)
Binder\Binder_Deconstruct.cs (1)
256
if (type.
IsTupleType
)
Binder\Binder_Expressions.cs (1)
1406
|| (type.
IsTupleType
&& !type.TupleElementNames.IsDefault))
Binder\Binder_Patterns.cs (3)
990
else if (declType.
IsTupleType
)
1243
Debug.Assert(!declType.
IsTupleType
);
1386
else if (strippedInputType.
IsTupleType
)
Binder\Binder_TupleOperators.cs (2)
332
Debug.Assert(targetType.StrippedType().
IsTupleType
);
362
if (type.StrippedType() is {
IsTupleType
: true } tupleType)
Binder\DecisionDagBuilder.cs (1)
553
else if (inputType.
IsTupleType
)
Binder\PatternExplainer.cs (1)
469
if (input.Type.
IsTupleType
&&
BoundTree\TupleBinaryOperatorInfo.cs (2)
111
Debug.Assert(leftConvertedTypeOpt is null || leftConvertedTypeOpt.StrippedType().
IsTupleType
);
112
Debug.Assert(rightConvertedTypeOpt is null || rightConvertedTypeOpt.StrippedType().
IsTupleType
);
FlowAnalysis\NullableWalker.cs (1)
9029
if (operandType.Type?.
IsTupleType
== true || conversionOperand.Kind == BoundKind.TupleLiteral)
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
552
if (loweredInput.Type.
IsTupleType
&&
Lowering\LocalRewriter\LocalRewriter_DeconstructionAssignmentOperator.cs (2)
319
if (right.Type.
IsTupleType
)
338
Debug.Assert(expression.Type.
IsTupleType
);
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (1)
524
Debug.Assert(tuple.Type is {
IsTupleType
: true });
Symbols\Compilation_WellKnownMembers.cs (1)
862
if (type.
IsTupleType
)
Symbols\Metadata\PE\MetadataDecoder.cs (2)
540
Debug.Assert(!targetTypeSymbol.
IsTupleType
);
557
if (!targetTypeSymbol.
IsTupleType
)
Symbols\PublicModel\TypeSymbol.cs (1)
143
bool ITypeSymbol.IsTupleType => UnderlyingTypeSymbol.
IsTupleType
;
Symbols\TypeSymbol.cs (1)
567
if (
IsTupleType
)
Symbols\TypeSymbolExtensions.cs (2)
598
if (type.
IsTupleType
)
1267
type.VisitType((TypeSymbol t, object? _1, bool _2) => t.
IsTupleType
, null) is object;