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