15 references to TypeHelpers
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (15)
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\DebuggerTypeProxyExpansion.cs (1)
123TypeHelpers.IsPublic,
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\ResultsViewExpansion.cs (1)
186predicate: TypeHelpers.IsPublic,
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\TupleExpansion.cs (7)
141var expansion = new TupleExpansion(declaredTypeAndInfo, cardinality - (TypeHelpers.TupleFieldRestPosition - 1), useRawView: true); 283int n = Math.Min(cardinality, TypeHelpers.TupleFieldRestPosition - 1); 286var fieldName = TypeHelpers.GetTupleFieldName(index); 310(offset == 0) ? fieldName : TypeHelpers.GetTupleFieldName(offset + index), 321var rest = declaringType.GetTupleField(TypeHelpers.TupleFieldRestName); 329var restField = new Field(declaringTypeAndInfo, restTypeAndInfo, rest, TypeHelpers.TupleFieldRestName, parent, isRest: true); 340offset += TypeHelpers.TupleFieldRestPosition - 1;
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.TypeNames.cs (3)
404Debug.Assert(nTypeArgs <= TypeHelpers.TupleFieldRestPosition); 405int nFields = Math.Min(nTypeArgs, TypeHelpers.TupleFieldRestPosition - 1); 428if (nTypeArgs < TypeHelpers.TupleFieldRestPosition)
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\CustomTypeInfoTypeArgumentMap.cs (1)
80var tupleElementNameStartIndices = (tupleElementNames == null) ? null : GetStartIndices(type, TypeHelpers.GetTupleCardinalityIfAny);
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeHelpers.cs (1)
511var restInfo = type.GetTupleField(TypeHelpers.TupleFieldRestName);
src\ExpressionEvaluator\Core\Source\ResultProvider\ResultProvider.cs (1)
1017return MemberExpansion.CreateExpansion(inspectionContext, declaredTypeAndInfo, value, flags, TypeHelpers.IsVisibleMember, this, isProxyType: false, supportsFavorites);