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