20 references to Create
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (20)
Debugger\Engine\DkmClrType.cs (2)
70
return (elementType == null) ? null :
Create
(AppDomain, elementType);
130
: new ReadOnlyCollection<DkmClrType>(typeArgs.Select(t => DkmClrType.
Create
(AppDomain, t)).ToArray());
Debugger\Engine\DkmClrValue.cs (5)
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));
572
var type = DkmClrType.
Create
(this.Type.AppDomain, (TypeImpl)((element == null) ? array.GetType().GetElementType() : element.GetType()));
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\MemberExpansion.cs (3)
512
new TypeAndCustomInfo(DkmClrType.
Create
(appDomain, declaringType), declaringTypeInfo), // Note: Won't include DynamicAttribute.
521
typeDeclaringMemberAndInfo: (member.IncludeTypeInMemberName || declaringType.IsInterface) ? new TypeAndCustomInfo(DkmClrType.
Create
(appDomain, declaringType), declaringTypeInfo) : default(TypeAndCustomInfo), // Note: Won't include DynamicAttribute.
522
declaredTypeAndInfo: new TypeAndCustomInfo(DkmClrType.
Create
(appDomain, declaredType), declaredTypeInfo),
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\ResultsViewExpansion.cs (1)
169
return DkmClrType.
Create
(valueType.AppDomain, enumerableType);
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\TupleExpansion.cs (1)
353
var fieldType = DkmClrType.
Create
(appDomain, field.FieldType);
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\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),
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeHelpers.cs (3)
59
var browsableState = DkmClrType.
Create
(appDomain, type).GetDebuggerBrowsableAttributeState();
525
type = (underlyingType != null) ? DkmClrType.
Create
(appDomain, underlyingType) : null;
686
proxyType = DkmClrType.
Create
(type.AppDomain, constructedProxy);
src\ExpressionEvaluator\Core\Source\ResultProvider\ResultProvider.cs (3)
595
expansion = this.GetTypeExpansion(inspectionContext, new TypeAndCustomInfo(DkmClrType.
Create
(declaredTypeAndInfo.ClrType.AppDomain, lmrNullableTypeArg)), value, ExpansionFlags.IncludeResultsView, supportsFavorites: supportsFavorites);
977
return ArrayExpansion.CreateExpansion(new TypeAndCustomInfo(DkmClrType.
Create
(declaredTypeAndInfo.ClrType.AppDomain, elementType), elementTypeInfo), sizes, lowerBounds);
998
: new PointerDereferenceExpansion(new TypeAndCustomInfo(DkmClrType.
Create
(declaredTypeAndInfo.ClrType.AppDomain, elementType)));