ResultProviderTestBase.cs (13)
59internal DkmClrValue CreateDkmClrValue(
72DkmClrValue.GetHostObjectValue((TypeImpl)type, value),
79internal DkmClrValue CreateDkmClrValue(
89DkmClrValue.GetHostObjectValue(type.GetLmrType(), value),
97internal DkmClrValue CreateErrorValue(
124var clrValue = CreateDkmClrValue(value, type);
128internal string FormatValue(DkmClrValue clrValue, bool useHexadecimal = false)
141var clrValue = GetValueForUnderlyingString(value, type);
147var clrValue = GetValueForUnderlyingString(value, value.GetType());
151internal DkmClrValue GetValueForUnderlyingString(object value, Type type)
180internal DkmEvaluationResult FormatResult(string name, DkmClrValue value, DkmClrType declaredType = null, DkmInspectionContext inspectionContext = null)
185internal DkmEvaluationResult FormatResult(string name, string fullName, DkmClrValue value, DkmClrType declaredType = null, DkmClrCustomTypeInfo declaredTypeInfo = null, DkmInspectionContext inspectionContext = null)
196internal DkmEvaluationAsyncResult FormatAsyncResult(string name, string fullName, DkmClrValue value, DkmClrType declaredType = null, DkmClrCustomTypeInfo declaredTypeInfo = null, DkmInspectionContext inspectionContext = null)
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\AggregateExpansion.cs (1)
54DkmClrValue value,
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\ResultsViewExpansion.cs (15)
21internal static ResultsViewExpansion CreateExpansion(DkmInspectionContext inspectionContext, DkmClrValue value, ResultProvider resultProvider)
38DkmClrValue value,
91DkmClrValue value,
123private static DkmClrType GetEnumerableType(DkmClrValue value)
128private static bool IsEnumerableCandidate(DkmClrValue value)
143private static DkmClrType GetEnumerableType(DkmClrValue value, DkmClrType valueType, bool requireExactInterface)
172private static ResultsViewExpansion CreateExpansion(DkmInspectionContext inspectionContext, DkmClrValue value, DkmClrType enumerableType, ResultProvider resultProvider)
174var proxyValue = value.InstantiateResultsViewProxy(inspectionContext, enumerableType);
193private readonly DkmClrValue _proxyValue;
196private ResultsViewExpansion(DkmClrValue proxyValue, Expansion proxyMembers)
210DkmClrValue value,
264DkmClrValue value,
298private readonly DkmClrValue _proxyValue;
301internal IndirectExpansion(DkmClrValue proxyValue, Expansion expansion)
312DkmClrValue value,
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.Values.cs (13)
31private string GetValueString(DkmClrValue value, DkmInspectionContext inspectionContext, ObjectDisplayOptions options, GetValueFlags flags)
107var nullableValue = value.GetNullableValue(inspectionContext);
179private string GetValueStringForCharacter(DkmClrValue value, DkmInspectionContext inspectionContext, ObjectDisplayOptions options)
197private bool HasUnderlyingString(DkmClrValue value, DkmInspectionContext inspectionContext)
202private string GetUnderlyingString(DkmClrValue value, DkmInspectionContext inspectionContext)
216private string GetUnderlyingStringImpl(DkmClrValue value, DkmInspectionContext inspectionContext)
233var nullableValue = value.GetNullableValue(inspectionContext);
252var fieldValue = value.GetFieldValue(InternalWellKnownMemberNames.SqlStringValue, inspectionContext);
272private string GetEnumDisplayString(Type lmrType, DkmClrValue value, ObjectDisplayOptions options, bool includeTypeName, DkmInspectionContext inspectionContext)
405private string GetEditableValue(DkmClrValue value, DkmInspectionContext inspectionContext)
445private string FormatPrimitive(DkmClrValue value, ObjectDisplayOptions options, DkmInspectionContext inspectionContext)
458var dateDataValue = value.GetPropertyValue("Ticks", inspectionContext);
469private static string IncludeObjectId(DkmClrValue value, string valueStr, GetValueFlags flags)
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeHelpers.cs (12)
394internal static DkmClrValue GetFieldValue(this DkmClrValue value, string name, DkmInspectionContext inspectionContext)
399internal static DkmClrValue GetPropertyValue(this DkmClrValue value, string name, DkmInspectionContext inspectionContext)
404internal static DkmClrValue GetNullableValue(this DkmClrValue value, Type nullableTypeArg, DkmInspectionContext inspectionContext)
414internal static DkmClrValue GetNullableValue(this DkmClrValue value, DkmInspectionContext inspectionContext)
418var hasValue = value.GetFieldValue(InternalWellKnownMemberNames.NullableHasValue, inspectionContext);
488internal static bool TryGetTupleFieldValues(this DkmClrValue tuple, int cardinality, ArrayBuilder<string> values, DkmInspectionContext inspectionContext)
502var value = tuple.GetFieldValue(fieldName, inspectionContext);
591internal static bool TryGetDebuggerDisplayInfo(this DkmClrValue value, out DebuggerDisplayInfo displayInfo)
src\ExpressionEvaluator\Core\Source\ResultProvider\ResultProvider.cs (13)
30/// Computes expansion of <see cref="DkmClrValue"/> instances.
73void IDkmClrResultProvider.GetResult(DkmClrValue value, DkmWorkList workList, DkmClrType declaredType, DkmClrCustomTypeInfo declaredTypeInfo, DkmInspectionContext inspectionContext, ReadOnlyCollection<string> formatSpecifiers, string resultName, string resultFullName, DkmCompletionRoutine<DkmEvaluationAsyncResult> completionRoutine)
99DkmClrValue IDkmClrResultProvider.GetClrValue(DkmSuccessEvaluationResult evaluationResult)
292var value = result.Value;
443DkmClrValue value,
508DkmClrValue value,
542DkmClrValue value,
569DkmClrValue nullableValue;
644DkmClrValue value,
792var value = result.Value; // Value may have been replaced (specifically, for Nullable<T>).
822DkmClrValue value,
879var value = result.Value;
939DkmClrValue value,