4 references to GetTupleCardinalityIfAny
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (4)
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\TupleExpansion.cs (1)
269Debug.Assert(declaringTypeAndInfo.Type.GetTupleCardinalityIfAny() == cardinality);
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.TypeNames.cs (1)
435cardinality = type.GetTupleCardinalityIfAny();
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\CustomTypeInfoTypeArgumentMap.cs (2)
80var tupleElementNameStartIndices = (tupleElementNames == null) ? null : GetStartIndices(type, TypeHelpers.GetTupleCardinalityIfAny); 162int n = curr.GetTupleCardinalityIfAny();