1 type derived from DkmClrType
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ResultProvider.UnitTests (1)
DebuggerDisplayAttributeTests.cs (1)
655private class BadType : DkmClrType
76 instantiations of DkmClrType
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ResultProvider.UnitTests (42)
DebuggerBrowsableAttributeTests.cs (5)
233type: new DkmClrType((TypeImpl)typeS), 356type: new DkmClrType((TypeImpl)typeC), 483type: new DkmClrType((TypeImpl)typeA), 560type: new DkmClrType(runtime.DefaultModule, runtime.DefaultAppDomain, (TypeImpl)type), 605type: new DkmClrType(runtime.DefaultModule, runtime.DefaultAppDomain, (TypeImpl)type),
DebuggerVisualizerAttributeTests.cs (1)
44type: new DkmClrType((TypeImpl)type),
DynamicTests.cs (8)
25var evalResult = FormatResult(rootExpr, rootExpr, value, declaredType: new DkmClrType((TypeImpl)typeof(object)), declaredTypeInfo: MakeCustomTypeInfo(true)); 69var evalResult = FormatResult(rootExpr, rootExpr, value, new DkmClrType((TypeImpl)typeC_Constructed2), MakeCustomTypeInfo(false, true, false, false, true)); 98var evalResult = FormatResult(rootExpr, rootExpr, value, new DkmClrType((TypeImpl)typeInner_Constructed), MakeCustomTypeInfo(false, true, false)); 133var evalResult = FormatResult(rootExpr, rootExpr, value, new DkmClrType((TypeImpl)typeC_Constructed), MakeCustomTypeInfo(false, false, false, true, false)); 178var evalResult = FormatResult(rootExpr, rootExpr, value, new DkmClrType((TypeImpl)typeC_Constructed), MakeCustomTypeInfo(false, true, false)); 213var evalResult = FormatResult(rootExpr, rootExpr, value, new DkmClrType((TypeImpl)typeDerived_Constructed), MakeCustomTypeInfo(false, true, false)); 235var evalResult = FormatResult(rootExpr, rootExpr, value, declaredType: new DkmClrType((TypeImpl)typeof(object[])), declaredTypeInfo: MakeCustomTypeInfo(false, true)); 257var evalResult = FormatResult("typevars", "typevars", value, new DkmClrType((TypeImpl)reflectionType), MakeCustomTypeInfo(false, true, false, false, true));
DynamicViewTests.cs (12)
30var type = new DkmClrType((TypeImpl)o.GetType()); 52var type = new DkmClrType((TypeImpl)o.GetType()); 81var type = new DkmClrType((TypeImpl)o.GetType()); 102var type = new DkmClrType((TypeImpl)o.GetType()); 135var type = new DkmClrType((TypeImpl)o.GetType()); 155var type = new DkmClrType((TypeImpl)typeof(object).Assembly.GetType(comObjectTypeName)); 172var type = new DkmClrType((TypeImpl)typeof(IDynamicMetaObjectProvider)); 189var type = new DkmClrType((TypeImpl)typeof(ExpandoObject)); 234var type = new DkmClrType(runtime, (TypeImpl)o.GetType()); 256var type = new DkmClrType(runtime, (TypeImpl)o.GetType()); 284var type = new DkmClrType((TypeImpl)o.GetType()); 301var type = new DkmClrType((TypeImpl)o.GetType());
ExpansionTests.cs (6)
1845var evalResult = FormatResult("a", value, new DkmClrType((TypeImpl)declaredType)); 1967result = FormatResult("a", value, new DkmClrType((TypeImpl)typeA)); 1999result = FormatResult("b", value, new DkmClrType((TypeImpl)typeB)); 2164var result = FormatResult("b", value, new DkmClrType((TypeImpl)typeB)); 2203var result = FormatResult("b", value, new DkmClrType((TypeImpl)typeB)); 2235var result = FormatResult("c", value, new DkmClrType((TypeImpl)typeC));
FullNameTests.cs (1)
304var root = FormatResult("o", value, new DkmClrType((TypeImpl)declaredType));
FunctionPointerTests.cs (1)
80return CreateDkmClrValue(DkmClrValue.UnboxPointer(fieldValue), new DkmClrType(FunctionPointerType.Instance));
Helpers\TestTypeExtensions.cs (1)
21var clrType = new DkmClrType((TypeImpl)type);
ObjectIdTests.cs (2)
21var objectType = new DkmClrType((TypeImpl)typeof(object)); 108var evalResult = FormatResult("o", value, new DkmClrType((TypeImpl)type.BaseType));
ValueFormattingTests.cs (5)
670value: null, hostObjectValue: null, new DkmClrType((TypeImpl)typeof(int)), 680value: null, hostObjectValue: null, new DkmClrType((TypeImpl)typeof(char)), 690value: null, hostObjectValue: null, new DkmClrType((TypeImpl)typeof(IntPtr)), 700value: null, hostObjectValue: null, new DkmClrType((TypeImpl)typeof(UIntPtr)), 710value: null, hostObjectValue: null, new DkmClrType((TypeImpl)typeof(TestEnum)),
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (9)
Debugger\Engine\DkmClrRuntimeInstance.cs (3)
78return new DkmClrType(module, _appDomain, type, GetObjectFavoritesInfo(type)); 85return new DkmClrType(module, _appDomain, (TypeImpl)type, GetObjectFavoritesInfo((TypeImpl)type)); 96var result = new DkmClrType(module, _appDomain, (TypeImpl)type, GetObjectFavoritesInfo((TypeImpl)type));
Debugger\Engine\DkmClrType.cs (4)
85var type = new DkmClrType( 96return new DkmClrType( 173return new DkmClrType(appDomain.RuntimeInstance.DefaultModule, appDomain, type); 206attributes.Add(new DkmClrDebuggerTypeProxyAttribute(new DkmClrType((TypeImpl)proxyType)));
Debugger\Engine\DkmClrValue.cs (1)
104var valueType = new DkmClrType(this.Type.RuntimeInstance, (value == null || elementType.IsPointer) ? elementType : (TypeImpl)value.GetType());
ResultProviderTestBase.cs (1)
73new DkmClrType((TypeImpl)type),
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ResultProvider.UnitTests (25)
DynamicViewTests.vb (12)
27Dim type = New DkmClrType(CType(o.GetType(), TypeImpl)) 48Dim type = New DkmClrType(CType(o.GetType(), TypeImpl)) 76Dim type = New DkmClrType(CType(o.GetType(), TypeImpl)) 96Dim type = New DkmClrType(CType(o.GetType(), TypeImpl)) 126Dim type = New DkmClrType(CType(o.GetType(), TypeImpl)) 145Dim type = New DkmClrType(CType(GetType(Object).Assembly.GetType(comObjectTypeName), TypeImpl)) 161Dim type = New DkmClrType(CType(GetType(IDynamicMetaObjectProvider), TypeImpl)) 177Dim type = New DkmClrType(CType(GetType(ExpandoObject), TypeImpl)) 220Dim type = New DkmClrType(runtime, CType(o.GetType(), TypeImpl)) 241Dim type = New DkmClrType(runtime, CType(o.GetType(), TypeImpl)) 268Dim type = New DkmClrType(CType(o.GetType(), TypeImpl)) 284Dim type = New DkmClrType(CType(o.GetType(), TypeImpl))
ExpansionTests.vb (5)
439Dim result = FormatResult("a", value, New DkmClrType(CType(declaredType, TypeImpl))) 466result = FormatResult("a", value, New DkmClrType(CType(typeA, TypeImpl))) 494result = FormatResult("b", value, New DkmClrType(CType(typeB, TypeImpl))) 668Dim result = FormatResult("b", value, New DkmClrType(CType(typeB, TypeImpl))) 695Dim result = FormatResult("c", value, New DkmClrType(CType(typeC, TypeImpl)))
Helpers\TestTypeExtensions.vb (1)
20Dim clrType = New DkmClrType(New TypeImpl(type))
ObjectIdTests.vb (1)
18Dim objectType = New DkmClrType(CType(GetType(Object), TypeImpl))
ValueFormatterTests.vb (6)
584Dim clrValue = New DkmClrValue(value:=Nothing, hostObjectValue:=Nothing, New DkmClrType(CType(GetType(Integer), TypeImpl)), 592Dim clrValue = New DkmClrValue(value:=Nothing, hostObjectValue:=Nothing, New DkmClrType(CType(GetType(Char), TypeImpl)), 600Dim clrValue = New DkmClrValue(value:=Nothing, hostObjectValue:=Nothing, New DkmClrType(CType(GetType(IntPtr), TypeImpl)), 608Dim clrValue = New DkmClrValue(value:=Nothing, hostObjectValue:=Nothing, New DkmClrType(CType(GetType(UIntPtr), TypeImpl)), 616Dim clrValue = New DkmClrValue(value:=Nothing, hostObjectValue:=Nothing, New DkmClrType(CType(GetType(TestEnum), TypeImpl)), 625Dim clrValue = New DkmClrValue(value:=Nothing, hostObjectValue:=Nothing, New DkmClrType(CType(GetType(DateTime), TypeImpl)),
199 references to DkmClrType
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ResultProvider.UnitTests (82)
CSharpFormatter.Values.cs (1)
65builder.Append(GetTypeName(new TypeAndCustomInfo(DkmClrType.Create(appDomain, lmrType)), escapeKeywordIdentifiers: false, sawInvalidIdentifier: out unused)); // NOTE: call our impl directly, since we're coupled anyway.
CustomResultProviderTests.cs (6)
101void IDkmClrResultProvider.GetResult(DkmClrValue clrValue, DkmWorkList workList, DkmClrType declaredType, DkmClrCustomTypeInfo customTypeInfo, DkmInspectionContext inspectionContext, ReadOnlyCollection<string> formatSpecifiers, string resultName, string resultFullName, DkmCompletionRoutine<DkmEvaluationAsyncResult> completionRoutine) 182string IDkmClrFormatter.GetTypeName(DkmInspectionContext inspectionContext, DkmClrType clrType, DkmClrCustomTypeInfo customTypeInfo, ReadOnlyCollection<string> formatSpecifiers) 212string IDkmClrFullNameProvider.GetClrTypeName(DkmInspectionContext inspectionContext, DkmClrType clrType, DkmClrCustomTypeInfo customTypeInfo) 222string IDkmClrFullNameProvider.GetClrCastExpression(DkmInspectionContext inspectionContext, string argument, DkmClrType type, DkmClrCustomTypeInfo customTypeInfo, DkmClrCastExpressionOptions castExpressionOptions) 227string IDkmClrFullNameProvider.GetClrObjectCreationExpression(DkmInspectionContext inspectionContext, DkmClrType type, DkmClrCustomTypeInfo customTypeInfo, string[] arguments) 250DkmClrType declaringType,
DebuggerBrowsableAttributeTests.cs (1)
272var type = runtime.GetType("C");
DebuggerDisplayAttributeTests.cs (1)
610var type = runtime.GetType("B");
DebuggerTypeProxyAttributeTests.cs (1)
1096var actualProxyType = ((DkmClrDebuggerTypeProxyAttribute)value.Type.GetEvalAttributes().First()).ProxyType;
DynamicTests.cs (1)
285var type = runtime.GetType("B");
DynamicViewTests.cs (12)
30var type = new DkmClrType((TypeImpl)o.GetType()); 52var type = new DkmClrType((TypeImpl)o.GetType()); 81var type = new DkmClrType((TypeImpl)o.GetType()); 102var type = new DkmClrType((TypeImpl)o.GetType()); 135var type = new DkmClrType((TypeImpl)o.GetType()); 155var type = new DkmClrType((TypeImpl)typeof(object).Assembly.GetType(comObjectTypeName)); 172var type = new DkmClrType((TypeImpl)typeof(IDynamicMetaObjectProvider)); 189var type = new DkmClrType((TypeImpl)typeof(ExpandoObject)); 234var type = new DkmClrType(runtime, (TypeImpl)o.GetType()); 256var type = new DkmClrType(runtime, (TypeImpl)o.GetType()); 284var type = new DkmClrType((TypeImpl)o.GetType()); 301var type = new DkmClrType((TypeImpl)o.GetType());
ExpansionTests.cs (11)
1370var type = runtime.GetType(typeof(ImmutableArray<>)).MakeGenericType(runtime.GetType(typeof(int))); 1629var type = runtime.GetType("S"); 1676var type = runtime.GetType("S"); 1717var type = runtime.GetType(typeof(NullReferenceException)); 1889var type = runtime.GetType("C"); 2278var type = runtime.GetType("B"); 2329var type = runtime.GetType("C"); 2349var typeC = runtime.GetType("C"); 2422var type = runtime.GetType("C"); 2470var type = runtime.GetType("C"); 2555var type = runtime.GetType("S");
FormatSpecifierTests.cs (11)
21var stringType = runtime.GetType(typeof(string)); 93var charType = runtime.GetType(typeof(char)); 162var type = runtime.GetType("C"); 231var type = runtime.GetType("C"); 321var type = runtime.GetType("C"); 359var type = runtime.GetType("S`1").MakeGenericType(runtime.GetType(typeof(int))); 397var type = runtime.GetType("C"); 447var type = runtime.GetType("C"); 482var type = runtime.GetType("C"); 532var type = runtime.GetType("C"); 560var type = runtime.GetType("C");
FullNameTests.cs (1)
63var type = runtime.GetType("C");
FunctionPointerTests.cs (1)
64var type = runtime.GetType("C");
Helpers\TestTypeExtensions.cs (1)
21var clrType = new DkmClrType((TypeImpl)type);
ObjectIdTests.cs (1)
21var objectType = new DkmClrType((TypeImpl)typeof(object));
ResultsViewTests.cs (6)
1569var type = runtime.GetType("C"); 1618var type = runtime.GetType("C"); 1653var type = runtime.GetType("C"); 1696var type = runtime.GetType("C"); 1847var propertyType = runtime.GetType(propertyInfo.PropertyType); 1848var valueType = (propertyValue == null) ? propertyType : runtime.GetType(propertyValue.GetType());
TupleTests.cs (27)
43var type = runtime.GetType("System.ValueTuple"); 103var type = runtime.GetType("System.ValueTuple`2", typeof(object), typeof(object)); 133var type = runtime.GetType("System.ValueTuple`2+S", typeof(object), typeof(object)); 167var type = runtime.GetType("System.ValueTuple`3", typeof(object), typeof(int)); 203var type = runtime.GetType("C"); 240var type = runtime.GetType("C"); 334var type = runtime.GetType("C"); 363var type = runtime.GetType("C"); 399var type = runtime.GetType("C"); 431var type = runtime.GetType("C"); 483var type = runtime.GetType("C"); 512var type = runtime.GetType("C"); 558var type = runtime.GetType("C"); 598var type = runtime.GetType("C"); 666var type = runtime.GetType("B"); 709var type = runtime.GetType("C"); 757var type = runtime.GetType("C"); 832var type = runtime.GetType("C"); 865var type = runtime.GetType("C"); 904var type = runtime.GetType("C"); 979var type = runtime.GetType("C"); 1030var type = runtime.GetType("async"); 1051var type = runtime.GetType("System.ValueTuple`2", typeof(int), typeof(int)); 1122var type = runtime.GetType("B"); 1141var type = runtime.GetType("System.ValueTuple`2", typeof(object), typeof(int)); 1167var type = runtime.GetType("C"); 1207var type = runtime.GetType("C");
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (117)
ArrayExpansion.cs (1)
166var parentRuntimeType = parent.Value.Type;
Debugger\Engine\DkmClrDebuggerTypeProxyAttribute.cs (2)
18internal DkmClrDebuggerTypeProxyAttribute(DkmClrType proxyType) : 24public readonly DkmClrType ProxyType;
Debugger\Engine\DkmClrModuleInstance.cs (2)
51public DkmClrType ResolveTypeName(string typeName, ReadOnlyCollection<DkmClrType> typeArguments)
Debugger\Engine\DkmClrRuntimeInstance.cs (4)
74internal DkmClrType GetType(Type type) 81internal DkmClrType GetType(System.Type type) 88internal DkmClrType GetType(string typeName, params System.Type[] typeArguments) 96var result = new DkmClrType(module, _appDomain, (TypeImpl)type, GetObjectFavoritesInfo((TypeImpl)type));
Debugger\Engine\DkmClrType.cs (14)
43private ReadOnlyCollection<DkmClrType> _lazyGenericArguments; 69public DkmClrType ElementType 83internal DkmClrType MakeGenericType(params DkmClrType[] genericArguments) 85var type = new DkmClrType( 90type._lazyGenericArguments = new ReadOnlyCollection<DkmClrType>(genericArguments); 94internal DkmClrType MakeArrayType() 123private static readonly ReadOnlyCollection<DkmClrType> s_emptyTypes = new ReadOnlyCollection<DkmClrType>(new DkmClrType[0]); 125public ReadOnlyCollection<DkmClrType> GenericArguments 134: new ReadOnlyCollection<DkmClrType>(typeArgs.Select(t => DkmClrType.Create(_appDomain, t)).ToArray()); 171public static DkmClrType Create(DkmClrAppDomain appDomain, Type type)
Debugger\Engine\DkmClrValue.cs (20)
36DkmClrType type, 62public readonly DkmClrType Type; 104var valueType = new DkmClrType(this.Type.RuntimeInstance, (value == null || elementType.IsPointer) ? elementType : (TypeImpl)value.GetType()); 174DkmClrType DeclaredType, 238public void EvaluateDebuggerDisplayString(DkmWorkList workList, DkmInspectionContext inspectionContext, DkmClrType targetType, string formatString, DkmCompletionRoutine<DkmEvaluateDebuggerDisplayStringAsyncResult> completionRoutine) 310DkmClrType.Create(appDomain, (TypeImpl)((fieldValue == null) ? field.FieldType : fieldValue.GetType())), 324DkmClrType.Create(appDomain, (TypeImpl)((propertyValue == null) ? property.PropertyType : propertyValue.GetType())), 346DkmClrType.Create(appDomain, (TypeImpl)((methodValue == null) ? method.ReturnType : methodValue.GetType())), 354var stringType = DkmClrType.Create(appDomain, (TypeImpl)typeof(string)); 420var boolType = runtime.GetType((TypeImpl)typeof(bool)); 436var valueType = runtime.GetType((TypeImpl)RawValue.GetType()); 572var type = DkmClrType.Create(this.Type.AppDomain, (TypeImpl)((element == null) ? array.GetType().GetElementType() : element.GetType())); 622public DkmClrValue InstantiateProxyType(DkmInspectionContext inspectionContext, DkmClrType proxyType) 647private static readonly ReadOnlyCollection<DkmClrType> s_noArguments = ArrayBuilder<DkmClrType>.GetInstance(0).ToImmutableAndFree(); 659var proxyType = module.ResolveTypeName( 665public DkmClrValue InstantiateResultsViewProxy(DkmInspectionContext inspectionContext, DkmClrType enumerableType) 689DkmClrType proxyType;
Debugger\Engine\DkmInspectionContext.cs (1)
63public string GetTypeName(DkmClrType ClrType, DkmClrCustomTypeInfo CustomTypeInfo, ReadOnlyCollection<string> FormatSpecifiers)
Debugger\Engine\IDkmClrFormatter.cs (1)
20string GetTypeName(DkmInspectionContext inspectionContext, DkmClrType clrType, DkmClrCustomTypeInfo CustomTypeInfo, ReadOnlyCollection<string> formatSpecifiers);
Debugger\Engine\IDkmClrFullNameProvider.cs (4)
22DkmClrType clrType, 32DkmClrType clrType, 38DkmClrType clrType, 49DkmClrType clrType,
Debugger\Engine\IDkmClrResultProvider.cs (1)
20void GetResult(DkmClrValue clrValue, DkmWorkList workList, DkmClrType declaredType, DkmClrCustomTypeInfo customTypeInfo, DkmInspectionContext inspectionContext, ReadOnlyCollection<string> formatSpecifiers, string resultName, string resultFullName, DkmCompletionRoutine<DkmEvaluationAsyncResult> completionRoutine);
DebuggerDisplayInfo.cs (6)
16private readonly DkmClrType m_targetType; 25public DebuggerDisplayInfo(DkmClrType targetType) 31DkmClrType targetType, 79public DebuggerDisplayInfo WithDebuggerDisplayAttribute(DkmClrDebuggerDisplayAttribute attribute, DkmClrType attributeTarget) 116public readonly DkmClrType TargetType; 118public DebuggerDisplayItemInfo(string value, DkmClrType targetType)
DebuggerTypeProxyExpansion.cs (2)
45var proxyType = value.Type.GetProxyType(); 116var proxyType = proxyValue.Type;
DynamicViewExpansion.cs (1)
41var proxyType = proxyValue.Type;
Formatter.cs (5)
50string IDkmClrFormatter.GetTypeName(DkmInspectionContext inspectionContext, DkmClrType type, DkmClrCustomTypeInfo typeInfo, ReadOnlyCollection<string> formatSpecifiers) 76string IDkmClrFullNameProvider.GetClrTypeName(DkmInspectionContext inspectionContext, DkmClrType clrType, DkmClrCustomTypeInfo customTypeInfo) 89string IDkmClrFullNameProvider.GetClrCastExpression(DkmInspectionContext inspectionContext, string argument, DkmClrType type, DkmClrCustomTypeInfo customTypeInfo, DkmClrCastExpressionOptions castExpressionOptions) 100string IDkmClrFullNameProvider.GetClrObjectCreationExpression(DkmInspectionContext inspectionContext, DkmClrType type, DkmClrCustomTypeInfo customTypeInfo, string[] arguments) 135DkmClrType declaringType,
MemberExpansion.cs (6)
40var type = value.Type; 403private readonly DkmClrType _type; 406internal StaticMembersExpansion(DkmClrType type, Expansion members) 497new TypeAndCustomInfo(DkmClrType.Create(appDomain, typeDeclaringMember), typeDeclaringMemberInfo), // Note: Won't include DynamicAttribute. 505typeDeclaringMemberAndInfo: (member.IncludeTypeInMemberName || typeDeclaringMember.IsInterface) ? new TypeAndCustomInfo(DkmClrType.Create(appDomain, typeDeclaringMember), typeDeclaringMemberInfo) : default(TypeAndCustomInfo), // Note: Won't include DynamicAttribute. 506declaredTypeAndInfo: new TypeAndCustomInfo(DkmClrType.Create(appDomain, declaredType), declaredTypeInfo),
ResultProvider.cs (9)
64void IDkmClrResultProvider.GetResult(DkmClrValue value, DkmWorkList workList, DkmClrType declaredType, DkmClrCustomTypeInfo declaredTypeInfo, DkmInspectionContext inspectionContext, ReadOnlyCollection<string> formatSpecifiers, string resultName, string resultFullName, DkmCompletionRoutine<DkmEvaluationAsyncResult> completionRoutine) 500DkmClrType declaredType, 505var runtimeType = value.Type; 586expansion = this.GetTypeExpansion(inspectionContext, new TypeAndCustomInfo(DkmClrType.Create(declaredTypeAndInfo.ClrType.AppDomain, lmrNullableTypeArg)), value, ExpansionFlags.IncludeResultsView, supportsFavorites: supportsFavorites); 637DkmClrType declaredType, 777DkmClrType declaredType, 844DkmClrType declaredType, 968return ArrayExpansion.CreateExpansion(new TypeAndCustomInfo(DkmClrType.Create(declaredTypeAndInfo.ClrType.AppDomain, elementType), elementTypeInfo), sizes, lowerBounds); 989: new PointerDereferenceExpansion(new TypeAndCustomInfo(DkmClrType.Create(declaredTypeAndInfo.ClrType.AppDomain, elementType)));
ResultProviderTestBase.cs (5)
81DkmClrType type, 98DkmClrType type, 180internal DkmEvaluationResult FormatResult(string name, DkmClrValue value, DkmClrType declaredType = null, DkmInspectionContext inspectionContext = null) 185internal DkmEvaluationResult FormatResult(string name, string fullName, DkmClrValue value, DkmClrType declaredType = null, DkmClrCustomTypeInfo declaredTypeInfo = null, DkmInspectionContext inspectionContext = null) 196internal DkmEvaluationAsyncResult FormatAsyncResult(string name, string fullName, DkmClrValue value, DkmClrType declaredType = null, DkmClrCustomTypeInfo declaredTypeInfo = null, DkmInspectionContext inspectionContext = null)
ResultsViewExpansion.cs (10)
23var enumerableType = GetEnumerableType(value); 36DkmClrType declaredType, 52var enumerableType = GetEnumerableType(value); 89DkmClrType declaredType, 100var enumerableType = GetEnumerableType(value, declaredType, requireExactInterface: true); 123private static DkmClrType GetEnumerableType(DkmClrValue value) 143private static DkmClrType GetEnumerableType(DkmClrValue value, DkmClrType valueType, bool requireExactInterface) 169return DkmClrType.Create(valueType.AppDomain, enumerableType); 172private static ResultsViewExpansion CreateExpansion(DkmInspectionContext inspectionContext, DkmClrValue value, DkmClrType enumerableType, ResultProvider resultProvider)
TupleExpansion.cs (3)
103var parentRuntimeType = parent.Value.Type; 353var fieldType = DkmClrType.Create(appDomain, field.FieldType);
TypeAndCustomInfo.cs (2)
16public readonly DkmClrType ClrType; 19public TypeAndCustomInfo(DkmClrType type, DkmClrCustomTypeInfo info = null)
TypeHelpers.cs (16)
57var browsableState = DkmClrType.Create(appDomain, type).GetDebuggerBrowsableAttributeState(); 505internal static Type GetBaseTypeOrNull(this Type underlyingType, DkmClrAppDomain appDomain, out DkmClrType type) 510type = (underlyingType != null) ? DkmClrType.Create(appDomain, underlyingType) : null; 516/// Get the first attribute from <see cref="DkmClrType.GetEvalAttributes()"/> (including inherited attributes) 519internal static bool TryGetEvalAttribute<T>(this DkmClrType type, out DkmClrType attributeTarget, out T evalAttribute) 550private static Dictionary<string, DkmClrDebuggerBrowsableAttributeState> GetDebuggerBrowsableAttributeState(this DkmClrType type) 587var clrType = value.Type; 596DkmClrType attributeTarget; 610internal static DkmCustomUIVisualizerInfo[] GetDebuggerCustomUIVisualizerInfo(this DkmClrType type) 648internal static DkmClrType GetProxyType(this DkmClrType type) 652DkmClrType attributeTarget; 657var proxyType = attribute.ProxyType; 671proxyType = DkmClrType.Create(type.AppDomain, constructedProxy); 877internal static MemberAndDeclarationInfo GetMemberByName(this DkmClrType type, string name)
TypeVariablesExpansion.cs (2)
77declaredTypeAndInfo: new TypeAndCustomInfo(DkmClrType.Create(value.Type.AppDomain, typeArgument), typeArgumentInfo), 80displayValue: inspectionContext.GetTypeName(DkmClrType.Create(value.Type.AppDomain, typeArgument), typeArgumentInfo, formatSpecifiers),