Example #1
0
 private static void TestSubmissionResult(CSharpCompilation s, SpecialType? expectedType, bool expectedHasValue)
 {
     bool hasValue;
     var type = s.GetSubmissionResultType(out hasValue);
     Assert.Equal(expectedType, type != null ? type.SpecialType : (SpecialType?)null);
     Assert.Equal(expectedHasValue, hasValue);
 }