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