16 instantiations of DkmClrValue
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (16)
Debugger\Engine\DkmClrType.cs (1)
109return new DkmClrValue(
Debugger\Engine\DkmClrValue.cs (12)
105return new DkmClrValue( 307exprValue = new DkmClrValue( 321exprValue = new DkmClrValue( 343exprValue = new DkmClrValue( 355exprValue = new DkmClrValue( 421return new DkmClrValue( 437return new DkmClrValue( 480return new DkmClrValue( 507return new DkmClrValue( 537return new DkmClrValue( 573return new DkmClrValue( 638return new DkmClrValue(
ResultProviderTestBase.cs (3)
70return new DkmClrValue( 87return new DkmClrValue( 101return new DkmClrValue(
147 references to DkmClrValue
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (147)
Debugger\Engine\DkmClrRuntimeInstance.cs (2)
25internal delegate DkmClrValue GetMemberValueDelegate(DkmClrValue value, string memberName);
Debugger\Engine\DkmClrType.cs (3)
98internal DkmClrValue Instantiate(params object[] args) 103internal DkmClrValue Instantiate( 111DkmClrValue.GetHostObjectValue(_lmrType, value),
Debugger\Engine\DkmClrValue.cs (8)
79public DkmClrValue Dereference(DkmInspectionContext inspectionContext) 300DkmClrValue exprValue; 382public DkmClrValue GetMemberValue(string MemberName, int MemberType, string ParentTypeName, DkmInspectionContext InspectionContext) 398var memberValue = getMemberValue(this, MemberName); 563public DkmClrValue GetArrayElement(int[] indices, DkmInspectionContext inspectionContext) 622public DkmClrValue InstantiateProxyType(DkmInspectionContext inspectionContext, DkmClrType proxyType) 648public DkmClrValue InstantiateDynamicViewProxy(DkmInspectionContext inspectionContext) 665public DkmClrValue InstantiateResultsViewProxy(DkmInspectionContext inspectionContext, DkmClrType enumerableType)
Debugger\Engine\DkmSuccessEvaluationResult.cs (1)
93public DkmClrValue GetClrValue()
Debugger\Engine\IDkmClrFormatter.cs (3)
21string GetUnderlyingString(DkmClrValue clrValue, DkmInspectionContext inspectionContext); 22string GetValueString(DkmClrValue clrValue, DkmInspectionContext inspectionContext, ReadOnlyCollection<string> formatSpecifiers); 23bool HasUnderlyingString(DkmClrValue clrValue, DkmInspectionContext inspectionContext);
Debugger\Engine\IDkmClrFormatter2.cs (2)
19string GetValueString(DkmClrValue clrValue, DkmClrCustomTypeInfo customTypeInfo, DkmInspectionContext inspectionContext, ReadOnlyCollection<string> formatSpecifiers); 20string GetEditableValueString(DkmClrValue value, DkmInspectionContext inspectionContext, DkmClrCustomTypeInfo customTypeInfo);
Debugger\Engine\IDkmClrResultProvider.cs (2)
20void GetResult(DkmClrValue clrValue, DkmWorkList workList, DkmClrType declaredType, DkmClrCustomTypeInfo customTypeInfo, DkmInspectionContext inspectionContext, ReadOnlyCollection<string> formatSpecifiers, string resultName, string resultFullName, DkmCompletionRoutine<DkmEvaluationAsyncResult> completionRoutine); 24DkmClrValue GetClrValue(DkmSuccessEvaluationResult successResult);
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\ArrayExpansion.cs (3)
54DkmClrValue value, 76DkmClrValue value, 83var element = value.GetArrayElement(indices, inspectionContext);
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\DebuggerTypeProxyExpansion.cs (7)
30DkmClrValue value, 55DkmClrValue proxyValue; 92private readonly DkmClrValue _value; 102DkmClrValue proxyValue, 106DkmClrValue value, 174DkmClrValue value, 217DkmClrValue value)
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\DynamicViewExpansion.cs (6)
19internal static DynamicViewExpansion CreateExpansion(DkmInspectionContext inspectionContext, DkmClrValue value) 32var proxyValue = value.InstantiateDynamicViewProxy(inspectionContext); 51DkmClrValue value, 60private readonly DkmClrValue _proxyValue; 63private DynamicViewExpansion(DkmClrValue proxyValue, Expansion proxyMembers) 77DkmClrValue value,
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\Expansion.cs (1)
41DkmClrValue value,
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\MemberExpansion.cs (9)
32DkmClrValue value, 296DkmClrValue value, 318DkmClrValue value, 323var memberValue = value.GetMemberValue(member, inspectionContext); 353DkmClrValue value, 375DkmClrValue value, 418DkmClrValue value, 441DkmClrValue value, 469DkmClrValue memberValue,
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\NativeViewExpansion.cs (2)
27DkmClrValue value, 43DkmClrValue comObject)
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\PointerDereferenceExpansion.cs (3)
29DkmClrValue value, 46DkmClrValue pointer, 50var value = pointer.Dereference(inspectionContext);
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\Expansion\RootHiddenExpansion.cs (2)
35DkmClrValue value, 41var memberValue = value.GetMemberValue(_member, inspectionContext);
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\TupleExpansion.cs (7)
24DkmClrValue value, 54DkmClrValue value, 90DkmClrValue value, 119var fieldValue = GetValueAndFullName( 182private static DkmClrValue GetValueAndFullName( 185DkmClrValue value, 361DkmClrValue value)
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\TypeVariablesExpansion.cs (2)
44DkmClrValue value, 65DkmClrValue value,
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.cs (6)
25/// Computes string representations of <see cref="DkmClrValue"/> instances. 41string IDkmClrFormatter.GetValueString(DkmClrValue value, DkmInspectionContext inspectionContext, ReadOnlyCollection<string> formatSpecifiers) 56bool IDkmClrFormatter.HasUnderlyingString(DkmClrValue value, DkmInspectionContext inspectionContext) 61string IDkmClrFormatter.GetUnderlyingString(DkmClrValue value, DkmInspectionContext inspectionContext) 66string IDkmClrFormatter2.GetValueString(DkmClrValue value, DkmClrCustomTypeInfo customTypeInfo, DkmInspectionContext inspectionContext, ReadOnlyCollection<string> formatSpecifiers) 71string IDkmClrFormatter2.GetEditableValueString(DkmClrValue value, DkmInspectionContext inspectionContext, DkmClrCustomTypeInfo customTypeInfo)
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\DkmClrValueFlagsExtensions.cs (1)
14internal static bool IsError(this DkmClrValue value)
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\EvalResultDataItem.cs (5)
29public readonly DkmClrValue Value; 39DkmClrValue value, 95public readonly DkmClrValue Value; 154DkmClrValue value, 237private static DkmEvaluationResultFlags GetFlags(DkmClrValue value, DkmInspectionContext inspectionContext, Expansion expansion, bool canFavorite, bool isFavorite)
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\Helpers\ValueHelpers.cs (5)
17internal static string IncludeObjectId(this DkmClrValue value, string valueStr) 31internal static bool HasExceptionThrown(this DkmClrValue value) 36internal static string GetExceptionMessage(this DkmClrValue value, DkmInspectionContext inspectionContext, string fullNameWithoutFormatSpecifiers) 42internal static DkmClrValue GetMemberValue(this DkmClrValue value, MemberAndDeclarationInfo member, DkmInspectionContext inspectionContext)
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,