40 references to GetLmrType
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (40)
Debugger\Engine\DkmClrModuleInstance.cs (1)
58
var typeArgs = typeArguments.Select(t => ((TypeImpl)t.
GetLmrType
()).Type).ToArray();
Debugger\Engine\DkmClrType.cs (1)
159
? string.Format("{0} (Proxy = {1})", result, proxyAttribute.ProxyType.
GetLmrType
().ToString())
Debugger\Engine\DkmClrValue.cs (9)
42
Debug.Assert((type == null) || !type.
GetLmrType
().IsTypeVariables() || (valueFlags == DkmClrValueFlags.Synthetic));
45
Debug.Assert((type == null) || !type.
GetLmrType
().IsPointer || (value != null));
88
var elementType = this.Type.
GetLmrType
().GetElementType();
124
var lmrType = Type.
GetLmrType
();
210
var type = this.Type.
GetLmrType
();
229
Debug.Assert(rawValue != null || this.Type.
GetLmrType
().IsVoid(), "In our mock system, this should only happen for void.");
291
var type = ((TypeImpl)this.Type.
GetLmrType
()).Type;
403
var declaringType = this.Type.
GetLmrType
();
627
var lmrType = proxyType.
GetLmrType
();
ResultProviderTestBase.cs (1)
88
DkmClrValue.GetHostObjectValue(type.
GetLmrType
(), value),
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\ArrayExpansion.cs (1)
166
if (!parent.DeclaredTypeAndInfo.Type.Equals(parentRuntimeType.
GetLmrType
()))
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\DynamicViewExpansion.cs (1)
25
var type = value.Type.
GetLmrType
();
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\MemberExpansion.cs (1)
41
var runtimeType = type.
GetLmrType
();
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\ResultsViewExpansion.cs (2)
139
var type = value.Type.
GetLmrType
();
150
var type = valueType.
GetLmrType
();
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\RootHiddenExpansion.cs (1)
42
var isDynamicDebugViewEmptyException = memberValue.Type.
GetLmrType
().IsDynamicDebugViewEmptyException();
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\TupleExpansion.cs (1)
103
if (!parent.DeclaredTypeAndInfo.Type.Equals(parentRuntimeType.
GetLmrType
()))
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.Values.cs (5)
43
var lmrType = value.Type.
GetLmrType
();
181
Debug.Assert(value.Type.
GetLmrType
().IsCharacter());
225
var lmrType = value.Type.
GetLmrType
();
417
var type = value.Type.
GetLmrType
();
456
if (value.Type.
GetLmrType
().IsDateTime())
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\EvalResultDataItem.cs (1)
245
var type = value.Type.
GetLmrType
();
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeAndCustomInfo.cs (1)
30
var t = ClrType?.
GetLmrType
();
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeHelpers.cs (8)
405
var valueType = value.Type.
GetLmrType
();
415
Debug.Assert(value.Type.
GetLmrType
().IsNullable());
491
var type = tuple.Type.
GetLmrType
();
540
var underlyingType = type.
GetLmrType
();
629
var underlyingType = type.
GetLmrType
();
670
var targetedType = attributeTarget.
GetLmrType
();
672
var underlyingProxy = proxyType.
GetLmrType
();
893
var member = type.
GetLmrType
().GetMember(name, MemberBindingFlags).Single();
src\ExpressionEvaluator\Core\Source\ResultProvider\ResultProvider.cs (6)
511
var declaredLmrType = declaredType.
GetLmrType
();
574
Debug.Assert(declaredType.Equals(value.Type.
GetLmrType
()));
591
Debug.Assert(lmrNullableTypeArg.Equals(value.Type.
GetLmrType
())); // If this is not the case, add a test for includeRuntimeTypeIfNecessary.
654
var type = value.Type.
GetLmrType
();
657
Debug.Assert(type.Equals(declaredType.
GetLmrType
()));
949
var runtimeType = value.Type.
GetLmrType
();