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