1 write to Type
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (1)
Debugger\Engine\DkmClrValue.cs (1)
49
this.
Type
= type;
54 references to Type
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (54)
Debugger\Engine\DkmClrValue.cs (11)
88
var elementType = this.
Type
.GetLmrType().GetElementType();
102
var valueType = new DkmClrType(this.
Type
.RuntimeInstance, (value == null || elementType.IsPointer) ? elementType : (TypeImpl)value.GetType());
124
var lmrType =
Type
.GetLmrType();
210
var type = this.
Type
.GetLmrType();
229
Debug.Assert(rawValue != null || this.
Type
.GetLmrType().IsVoid(), "In our mock system, this should only happen for void.");
291
var type = ((TypeImpl)this.
Type
.GetLmrType()).Type;
299
var appDomain = this.
Type
.AppDomain;
392
var runtime = this.
Type
.RuntimeInstance;
403
var declaringType = this.
Type
.GetLmrType();
570
var type = DkmClrType.Create(this.
Type
.AppDomain, (TypeImpl)((element == null) ? array.GetType().GetElementType() : element.GetType()));
654
this.
Type
.AppDomain.RuntimeInstance,
ResultProviderTestBase.cs (1)
201
DeclaredType: declaredType ?? value.
Type
,
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\ArrayExpansion.cs (1)
165
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)
25
var type = value.
Type
.GetLmrType();
40
var proxyType = proxyValue.
Type
;
92
var proxyTypeAndInfo = new TypeAndCustomInfo(_proxyValue.
Type
);
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\MemberExpansion.cs (3)
40
var type = value.
Type
;
73
var appDomain = value.
Type
.AppDomain;
496
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)
33
return new TupleExpansion(new TypeAndCustomInfo(value.
Type
, declaredTypeAndInfo.Info), cardinality, useRawView);
102
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)
405
var valueType = value.
Type
.GetLmrType();
415
Debug.Assert(value.
Type
.GetLmrType().IsNullable());
491
var type = tuple.
Type
.GetLmrType();
601
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)
466
DkmCustomUIVisualizerInfo[] customUIVisualizerInfo = value.
Type
.GetDebuggerCustomUIVisualizerInfo();
512
var runtimeType = value.
Type
;
565
Debug.Assert(value.
Type
.GetProxyType() == null);
574
Debug.Assert(declaredType.Equals(value.
Type
.GetLmrType()));
591
Debug.Assert(lmrNullableTypeArg.Equals(value.
Type
.GetLmrType())); // If this is not the case, add a test for includeRuntimeTypeIfNecessary.
616
? this.GetTypeExpansion(inspectionContext, new TypeAndCustomInfo(value.
Type
), value, expansionFlags, supportsFavorites: false)
654
var type = value.
Type
.GetLmrType();
949
var runtimeType = value.
Type
.GetLmrType();