12 references to CreateErrorValue
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ResultProvider.UnitTests (9)
DebuggerDisplayAttributeTests.cs (1)
606
VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue getMemberValue(VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue v, string m) => (m == "Q") ?
CreateErrorValue
(runtime.GetType("A"), "Function evaluation timed out") : null;
DynamicViewTests.cs (2)
218
value =
CreateErrorValue
(runtime.GetType(obj.GetType()), "Function evaluation timed out");
233
getMemberValue: (_, m) => (m == "Items") ?
CreateErrorValue
(runtime.GetType(typeof(Array)), "Function evaluation timed out") : null);
ExpansionTests.cs (2)
2325
VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue getMemberValue(VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue v, string m) => (m == "P") ?
CreateErrorValue
(runtime.GetType(typeof(int?)), "Function evaluation timed out") : null;
2534
var value =
CreateErrorValue
(type: null, message: message);
FormatSpecifierTests.cs (2)
522
return
CreateErrorValue
(runtime.GetType(typeof(System.Collections.ArrayList)), "Property 'P' evaluation timed out");
524
return
CreateErrorValue
(runtime.GetType(typeof(string)), "Property 'Q' evaluation timed out");
ResultsViewTests.cs (2)
1614
VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue getMemberValue(VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue v, string m) => (m == "P") ?
CreateErrorValue
(runtime.GetType(typeof(System.Collections.ArrayList)), "Function evaluation timed out") : null;
1649
VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue getMemberValue(VisualStudio.Debugger.Evaluation.ClrCompilation.DkmClrValue v, string m) => (m == "Items") ?
CreateErrorValue
(runtime.GetType(typeof(object)).MakeArrayType(), string.Format("Unable to evaluate '{0}'", m)) : null;
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ResultProvider.UnitTests (3)
DynamicViewTests.vb (2)
205
value =
CreateErrorValue
(runtime.GetType(obj.GetType()), "Function evaluation timed out")
219
getMemberValue:=Function(v, m) If(m = "Items",
CreateErrorValue
(runtime.GetType(GetType(Array)), "Function evaluation timed out"), Nothing))
ResultsViewTests.vb (1)
126
Dim getMemberValue As GetMemberValueDelegate = Function(v, m) If(m = "Items",
CreateErrorValue
(runtime.GetType(GetType(Object)).MakeArrayType(), String.Format("Unable to evaluate '{0}'", m)), Nothing)