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