1 write to Type
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (1)
Debugger\Engine\DkmClrValue.cs (1)
51
this.
Type
= type;
58 references to Type
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ResultProvider.UnitTests (4)
DebuggerTypeProxyAttributeTests.cs (1)
1096
var actualProxyType = ((DkmClrDebuggerTypeProxyAttribute)value.
Type
.GetEvalAttributes().First()).ProxyType;
ExpansionTests.cs (2)
2505
DeclaredType: value.
Type
,
2518
DeclaredType: value.
Type
,
FunctionPointerTests.cs (1)
77
var valueType = value.
Type
.GetLmrType();
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (54)
ArrayExpansion.cs (1)
166
var parentRuntimeType = parent.Value.
Type
;
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,
DebuggerTypeProxyExpansion.cs (2)
45
var proxyType = value.
Type
.GetProxyType();
116
var proxyType = proxyValue.
Type
;
DynamicViewExpansion.cs (3)
26
var type = value.
Type
.GetLmrType();
41
var proxyType = proxyValue.
Type
;
93
var proxyTypeAndInfo = new TypeAndCustomInfo(_proxyValue.
Type
);
EvalResultDataItem.cs (1)
245
var type = value.
Type
.GetLmrType();
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();
411
var type = value.
Type
.GetLmrType();
450
if (value.
Type
.GetLmrType().IsDateTime())
MemberExpansion.cs (3)
40
var type = value.
Type
;
73
var appDomain = value.
Type
.AppDomain;
484
var appDomain = memberValue.
Type
.AppDomain;
NativeViewExpansion.cs (1)
62
declaredTypeAndInfo: new TypeAndCustomInfo(comObject.
Type
), // DkmClrValue types don't have attributes.
ResultProvider.cs (8)
459
DkmCustomUIVisualizerInfo[] customUIVisualizerInfo = value.
Type
.GetDebuggerCustomUIVisualizerInfo();
505
var runtimeType = value.
Type
;
558
Debug.Assert(value.
Type
.GetProxyType() == null);
567
Debug.Assert(declaredType.Equals(value.
Type
.GetLmrType()));
584
Debug.Assert(lmrNullableTypeArg.Equals(value.
Type
.GetLmrType())); // If this is not the case, add a test for includeRuntimeTypeIfNecessary.
609
? this.GetTypeExpansion(inspectionContext, new TypeAndCustomInfo(value.
Type
), value, expansionFlags, supportsFavorites: false)
647
var type = value.
Type
.GetLmrType();
942
var runtimeType = value.
Type
.GetLmrType();
ResultProviderTestBase.cs (1)
202
DeclaredType: declaredType ?? value.
Type
,
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
,
RootHiddenExpansion.cs (2)
42
var isDynamicDebugViewEmptyException = memberValue.
Type
.GetLmrType().IsDynamicDebugViewEmptyException();
49
var emptyMember = memberValue.
Type
.GetMemberByName("Empty");
TupleExpansion.cs (2)
34
return new TupleExpansion(new TypeAndCustomInfo(value.
Type
, declaredTypeAndInfo.Info), cardinality, useRawView);
103
var parentRuntimeType = parent.Value.
Type
;
TypeHelpers.cs (4)
391
var valueType = value.
Type
.GetLmrType();
401
Debug.Assert(value.
Type
.GetLmrType().IsNullable());
477
var type = tuple.
Type
.GetLmrType();
587
var clrType = value.
Type
;
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),
ValueHelpers.cs (1)
38
var typeName = inspectionContext.GetTypeName(value.
Type
, null, Formatter.NoFormatSpecifiers);