1 type derived from TypeImpl
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ResultProvider.UnitTests (1)
FunctionPointerTests.cs (1)
84
private sealed class FunctionPointerType :
TypeImpl
5 instantiations of TypeImpl
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (4)
Debugger\MemberInfo\TypeImpl.cs (4)
30
return type == null ? null : new
TypeImpl
(type);
184
return Type.GetGenericArguments().Select(t => new
TypeImpl
(t)).ToArray();
194
return Type.GetInterfaces().Select(i => new
TypeImpl
(i)).ToArray();
225
return new
TypeImpl
((System.Reflection.TypeInfo)member);
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ResultProvider.UnitTests (1)
Helpers\TestTypeExtensions.vb (1)
20
Dim clrType = New DkmClrType(New
TypeImpl
(type))
153 references to TypeImpl
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ResultProvider.UnitTests (81)
AccessibilityTests.cs (3)
103
runtime.GetType((
TypeImpl
)type));
264
runtime.GetType((
TypeImpl
)type));
365
runtime.GetType((
TypeImpl
)type));
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),
DebuggerDisplayAttributeTests.cs (1)
660
: base((
TypeImpl
)innerType)
DebuggerTypeProxyAttributeTests.cs (1)
1097
Assert.Equal(((
TypeImpl
)actualProxyType.GetLmrType()).Type, typeP);
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));
Helpers\TestTypeExtensions.cs (1)
21
var clrType = new DkmClrType((
TypeImpl
)type);
NativeViewTests.cs (1)
47
type: runtime.GetType((
TypeImpl
)type),
ObjectFavoritesTests.cs (6)
63
type: runtime.GetType((
TypeImpl
)type));
116
type: runtime.GetType((
TypeImpl
)type));
167
type: runtime.GetType((
TypeImpl
)type));
208
type: runtime.GetType((
TypeImpl
)type));
240
type: runtime.GetType((
TypeImpl
)type));
282
type: runtime.GetType((
TypeImpl
)type));
ObjectIdTests.cs (2)
21
var objectType = new DkmClrType((
TypeImpl
)typeof(object));
108
var evalResult = FormatResult("o", value, new DkmClrType((
TypeImpl
)type.BaseType));
ResultsViewTests.cs (27)
50
type: runtime.GetType((
TypeImpl
)type));
86
type: runtime.GetType((
TypeImpl
)type));
121
type: runtime.GetType((
TypeImpl
)type));
177
type: runtime.GetType((
TypeImpl
)type));
228
type: runtime.GetType((
TypeImpl
)type));
284
type: runtime.GetType((
TypeImpl
)type));
352
type: runtime.GetType((
TypeImpl
)type));
432
type: runtime.GetType((
TypeImpl
)type));
552
type: runtime.GetType((
TypeImpl
)type));
638
type: runtime.GetType((
TypeImpl
)type));
709
type: runtime.GetType((
TypeImpl
)type));
768
type: runtime.GetType((
TypeImpl
)type));
811
type: runtime.GetType((
TypeImpl
)type));
852
type: runtime.GetType((
TypeImpl
)stateMachineType));
912
type: runtime.GetType((
TypeImpl
)stateMachineType));
997
type: runtime.GetType((
TypeImpl
)type));
1021
type: runtime.GetType((
TypeImpl
)type));
1045
type: runtime.GetType((
TypeImpl
)type));
1114
type: runtime.GetType((
TypeImpl
)type));
1138
type: runtime.GetType((
TypeImpl
)type));
1207
type: runtime.GetType((
TypeImpl
)type));
1249
type: runtime.GetType((
TypeImpl
)type));
1291
type: runtime.GetType((
TypeImpl
)type));
1372
type: runtime.GetType((
TypeImpl
)type));
1484
type: runtime.GetType((
TypeImpl
)type));
1519
type: runtime.GetType((
TypeImpl
)type));
1812
type: runtime.GetType((
TypeImpl
)type));
TupleTests.cs (1)
81
type = runtime.GetType("System.ValueTuple`8", typeof(int), typeof(string), typeof(int), typeof(string), typeof(int), typeof(string), typeof(int), ((
TypeImpl
)type.GetLmrType()).Type);
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 (45)
Debugger\Engine\DkmClrModuleInstance.cs (2)
62
var typeArgs = typeArguments.Select(t => ((
TypeImpl
)t.GetLmrType()).Type).ToArray();
65
return _runtimeInstance.GetType((
TypeImpl
)type);
Debugger\Engine\DkmClrRuntimeInstance.cs (4)
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 (3)
80
get { return ((
TypeImpl
)_lmrType).Type; }
200
var reflectionType = ((
TypeImpl
)type).Type;
206
attributes.Add(new DkmClrDebuggerTypeProxyAttribute(new DkmClrType((
TypeImpl
)proxyType)));
Debugger\Engine\DkmClrValue.cs (13)
104
var valueType = new DkmClrType(this.Type.RuntimeInstance, (value == null || elementType.IsPointer) ? elementType : (
TypeImpl
)value.GetType());
293
var type = ((
TypeImpl
)this.Type.GetLmrType()).Type;
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());
483
type: runtime.GetType((
TypeImpl
)exception.GetType()),
510
type: runtime.GetType((
TypeImpl
)exception.GetType()),
534
type = (
TypeImpl
)value.GetType();
572
var type = DkmClrType.Create(this.Type.AppDomain, (
TypeImpl
)((element == null) ? array.GetType().GetElementType() : element.GetType()));
770
: ((
TypeImpl
)elementType).Type;
Debugger\MemberInfo\ConstructorInfoImpl.cs (1)
46
return (
TypeImpl
)Constructor.DeclaringType;
Debugger\MemberInfo\CustomAttributeDataImpl.cs (2)
43
var
argumentType = (
TypeImpl
)a.ArgumentType;
Debugger\MemberInfo\FieldInfoImpl.cs (2)
34
get { return (
TypeImpl
)this.Field.DeclaringType; }
49
get { return (
TypeImpl
)this.Field.FieldType; }
Debugger\MemberInfo\MethodInfoImpl.cs (1)
38
get { return (
TypeImpl
)this.Method.DeclaringType; }
Debugger\MemberInfo\PropertyInfoImpl.cs (2)
47
get { return (
TypeImpl
)this.Property.DeclaringType; }
77
get { return (
TypeImpl
)this.Property.PropertyType; }
Debugger\MemberInfo\TypeImpl.cs (13)
28
public static explicit operator
TypeImpl
(System.Type type)
45
get { return (
TypeImpl
)this.Type.BaseType; }
55
get { return (
TypeImpl
)this.Type.DeclaringType; }
108
get { return (
TypeImpl
)Type.UnderlyingSystemType; }
113
return o != null && o.GetType() == this.GetType() && ((
TypeImpl
)o).Type == this.Type;
153
return (
TypeImpl
)(Type.GetElementType());
179
return (
TypeImpl
)this.Type.GetGenericTypeDefinition();
328
return (
TypeImpl
)this.Type.MakeArrayType();
333
return (
TypeImpl
)this.Type.MakeArrayType(rank);
343
return (
TypeImpl
)this.Type.MakeGenericType(argTypes.Select(t => ((
TypeImpl
)t).Type).ToArray());
348
return (
TypeImpl
)this.Type.MakePointerType();
461
builder.Add((
TypeImpl
)@interface);
ResultProviderTestBase.cs (2)
72
DkmClrValue.GetHostObjectValue((
TypeImpl
)type, value),
73
new DkmClrType((
TypeImpl
)type),
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ResultProvider.UnitTests (27)
DebuggerTypeProxyAttributeTests.vb (1)
55
type:=runtime.GetType(CType(type,
TypeImpl
)))
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
)))
ObjectIdTests.vb (1)
18
Dim objectType = New DkmClrType(CType(GetType(Object),
TypeImpl
))
ResultsViewTests.vb (2)
38
type:=runtime.GetType(CType(type,
TypeImpl
)))
89
type:=runtime.GetType(CType(type,
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
)),