41 references to GetLmrType
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (41)
Debugger\Engine\DkmClrModuleInstance.cs (1)
59var 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 (10)
42Debug.Assert((type == null) || !type.GetLmrType().IsTypeVariables() || (valueFlags == DkmClrValueFlags.Synthetic)); 45Debug.Assert((type == null) || !type.GetLmrType().IsPointer || (value != null)); 88var elementType = this.Type.GetLmrType().GetElementType(); 124var lmrType = Type.GetLmrType(); 210var type = this.Type.GetLmrType(); 229Debug.Assert(rawValue != null || this.Type.GetLmrType().IsVoid(), "In our mock system, this should only happen for void."); 291var type = ((TypeImpl)this.Type.GetLmrType()).Type; 403var declaringType = this.Type.GetLmrType(); 579if (indices.Length == 1 && InlineArrayHelpers.TryGetInlineArrayInfo(Type.GetLmrType(), out _, out _)) 663var lmrType = proxyType.GetLmrType();
ResultProviderTestBase.cs (1)
88DkmClrValue.GetHostObjectValue(type.GetLmrType(), value),
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\ArrayExpansion.cs (1)
166if (!parent.DeclaredTypeAndInfo.Type.Equals(parentRuntimeType.GetLmrType()))
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\DynamicViewExpansion.cs (1)
25var type = value.Type.GetLmrType();
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\MemberExpansion.cs (1)
41var runtimeType = type.GetLmrType();
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\ResultsViewExpansion.cs (2)
139var type = value.Type.GetLmrType(); 150var type = valueType.GetLmrType();
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\RootHiddenExpansion.cs (1)
42var isDynamicDebugViewEmptyException = memberValue.Type.GetLmrType().IsDynamicDebugViewEmptyException();
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\TupleExpansion.cs (1)
103if (!parent.DeclaredTypeAndInfo.Type.Equals(parentRuntimeType.GetLmrType()))
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.Values.cs (5)
43var lmrType = value.Type.GetLmrType(); 181Debug.Assert(value.Type.GetLmrType().IsCharacter()); 225var lmrType = value.Type.GetLmrType(); 418var type = value.Type.GetLmrType(); 457if (value.Type.GetLmrType().IsDateTime())
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\EvalResultDataItem.cs (1)
245var type = value.Type.GetLmrType();
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeAndCustomInfo.cs (1)
30var t = ClrType?.GetLmrType();
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeHelpers.cs (8)
410var valueType = value.Type.GetLmrType(); 420Debug.Assert(value.Type.GetLmrType().IsNullable()); 496var type = tuple.Type.GetLmrType(); 545var underlyingType = type.GetLmrType(); 634var underlyingType = type.GetLmrType(); 675var targetedType = attributeTarget.GetLmrType(); 677var underlyingProxy = proxyType.GetLmrType(); 898var member = type.GetLmrType().GetMember(name, MemberBindingFlags).Single();
src\ExpressionEvaluator\Core\Source\ResultProvider\ResultProvider.cs (6)
511var declaredLmrType = declaredType.GetLmrType(); 574Debug.Assert(declaredType.Equals(value.Type.GetLmrType())); 591Debug.Assert(lmrNullableTypeArg.Equals(value.Type.GetLmrType())); // If this is not the case, add a test for includeRuntimeTypeIfNecessary. 654var type = value.Type.GetLmrType(); 657Debug.Assert(type.Equals(declaredType.GetLmrType())); 949var runtimeType = value.Type.GetLmrType();