diff options
author | David Karlaš <david.karlas@gmail.com> | 2017-08-08 13:40:08 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-08 13:40:08 +0300 |
commit | 9716be5e0e06a5effcfdc91fb6354485c4fe8ba5 (patch) | |
tree | 6d3a6deac1afea999bb94c53db7a9e7944e83d38 /UnitTests/MonoDevelop.Debugger.Tests.TestApp/TestEvaluation.cs | |
parent | d32005698cbc6e63f8877a4bcb1bb4eea8c5bbed (diff) | |
parent | ea7c18408584f42f9e1a52df581730fb94d84ad8 (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.cs | 10 |
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; |