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