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