Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/debugger-libs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Karlaš <david.karlas@gmail.com>2017-08-08 13:40:08 +0300
committerGitHub <noreply@github.com>2017-08-08 13:40:08 +0300
commit9716be5e0e06a5effcfdc91fb6354485c4fe8ba5 (patch)
tree6d3a6deac1afea999bb94c53db7a9e7944e83d38 /UnitTests/MonoDevelop.Debugger.Tests.TestApp/TestEvaluation.cs
parentd32005698cbc6e63f8877a4bcb1bb4eea8c5bbed (diff)
parentea7c18408584f42f9e1a52df581730fb94d84ad8 (diff)
Merge pull request #147 from mono/nullable
Bug 57149 - Nullables and Evaluation with MDS
Diffstat (limited to 'UnitTests/MonoDevelop.Debugger.Tests.TestApp/TestEvaluation.cs')
-rw-r--r--UnitTests/MonoDevelop.Debugger.Tests.TestApp/TestEvaluation.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/UnitTests/MonoDevelop.Debugger.Tests.TestApp/TestEvaluation.cs b/UnitTests/MonoDevelop.Debugger.Tests.TestApp/TestEvaluation.cs
index cbc958f..749b982 100644
--- a/UnitTests/MonoDevelop.Debugger.Tests.TestApp/TestEvaluation.cs
+++ b/UnitTests/MonoDevelop.Debugger.Tests.TestApp/TestEvaluation.cs
@@ -319,6 +319,16 @@ namespace MonoDevelop.Debugger.Tests.TestApp
return b ? 1 : 2;
}
+ public static bool NullableHasValue1 (int? test)
+ {
+ return test.HasValue;
+ }
+
+ public static bool IsNull (RichClass obj)
+ {
+ return obj == null;
+ }
+
public T ReturnSame<T> (T t)
{
return t;