1 write to Type
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (1)
Debugger\Engine\DkmClrValue.cs (1)
51this.Type = type;
54 references to Type
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (54)
Debugger\Engine\DkmClrValue.cs (11)
90var elementType = this.Type.GetLmrType().GetElementType(); 104var valueType = new DkmClrType(this.Type.RuntimeInstance, (value == null || elementType.IsPointer) ? elementType : (TypeImpl)value.GetType()); 126var lmrType = Type.GetLmrType(); 212var type = this.Type.GetLmrType(); 231Debug.Assert(rawValue != null || this.Type.GetLmrType().IsVoid(), "In our mock system, this should only happen for void."); 293var type = ((TypeImpl)this.Type.GetLmrType()).Type; 301var appDomain = this.Type.AppDomain; 394var runtime = this.Type.RuntimeInstance; 405var declaringType = this.Type.GetLmrType(); 572var type = DkmClrType.Create(this.Type.AppDomain, (TypeImpl)((element == null) ? array.GetType().GetElementType() : element.GetType())); 656this.Type.AppDomain.RuntimeInstance,
ResultProviderTestBase.cs (1)
202DeclaredType: declaredType ?? value.Type,
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\ArrayExpansion.cs (1)
166var parentRuntimeType = parent.Value.Type;
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\DebuggerTypeProxyExpansion.cs (2)
45var proxyType = value.Type.GetProxyType(); 116var proxyType = proxyValue.Type;
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\DynamicViewExpansion.cs (3)
26var type = value.Type.GetLmrType(); 41var proxyType = proxyValue.Type; 93var proxyTypeAndInfo = new TypeAndCustomInfo(_proxyValue.Type);
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\MemberExpansion.cs (3)
41var type = value.Type; 74var appDomain = value.Type.AppDomain; 497var appDomain = memberValue.Type.AppDomain;
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\NativeViewExpansion.cs (1)
62declaredTypeAndInfo: new TypeAndCustomInfo(comObject.Type), // DkmClrValue types don't have attributes.
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\ResultsViewExpansion.cs (5)
125return GetEnumerableType(value, value.Type, requireExactInterface: false); 139var type = value.Type.GetLmrType(); 183new TypeAndCustomInfo(proxyValue.Type), 230var proxyTypeAndInfo = new TypeAndCustomInfo(_proxyValue.Type); 274_proxyValue.Type,
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\RootHiddenExpansion.cs (2)
42var isDynamicDebugViewEmptyException = memberValue.Type.GetLmrType().IsDynamicDebugViewEmptyException(); 49var emptyMember = memberValue.Type.GetMemberByName("Empty");
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\TupleExpansion.cs (2)
34return new TupleExpansion(new TypeAndCustomInfo(value.Type, declaredTypeAndInfo.Info), cardinality, useRawView); 103var parentRuntimeType = parent.Value.Type;
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\TypeVariablesExpansion.cs (2)
77declaredTypeAndInfo: new TypeAndCustomInfo(DkmClrType.Create(value.Type.AppDomain, typeArgument), typeArgumentInfo), 80displayValue: inspectionContext.GetTypeName(DkmClrType.Create(value.Type.AppDomain, typeArgument), typeArgumentInfo, formatSpecifiers),
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.Values.cs (7)
43var lmrType = value.Type.GetLmrType(); 94GetArrayDisplayString(value.Type.AppDomain, lmrType, value.ArrayDimensions, value.ArrayLowerBounds, options), 172string.Format(_defaultFormat, value.EvaluateToString(inspectionContext) ?? inspectionContext.GetTypeName(value.Type, CustomTypeInfo: null, FormatSpecifiers: NoFormatSpecifiers)), 181Debug.Assert(value.Type.GetLmrType().IsCharacter()); 225var lmrType = value.Type.GetLmrType(); 417var type = value.Type.GetLmrType(); 456if (value.Type.GetLmrType().IsDateTime())
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\EvalResultDataItem.cs (1)
245var type = value.Type.GetLmrType();
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeHelpers.cs (4)
406var valueType = value.Type.GetLmrType(); 416Debug.Assert(value.Type.GetLmrType().IsNullable()); 492var type = tuple.Type.GetLmrType(); 602var clrType = value.Type;
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\ValueHelpers.cs (1)
38var typeName = inspectionContext.GetTypeName(value.Type, null, Formatter.NoFormatSpecifiers);
src\ExpressionEvaluator\Core\Source\ResultProvider\ResultProvider.cs (8)
468DkmCustomUIVisualizerInfo[] customUIVisualizerInfo = value.Type.GetDebuggerCustomUIVisualizerInfo(); 514var runtimeType = value.Type; 567Debug.Assert(value.Type.GetProxyType() == null); 576Debug.Assert(declaredType.Equals(value.Type.GetLmrType())); 593Debug.Assert(lmrNullableTypeArg.Equals(value.Type.GetLmrType())); // If this is not the case, add a test for includeRuntimeTypeIfNecessary. 618? this.GetTypeExpansion(inspectionContext, new TypeAndCustomInfo(value.Type), value, expansionFlags, supportsFavorites: false) 656var type = value.Type.GetLmrType(); 951var runtimeType = value.Type.GetLmrType();