Created
January 9, 2020 22:51
-
-
Save lambdageek/a31a7bc5f0fef28c959a75dca1b6a53a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleEqualityTests.TestOnTupleOfDecimals [FAIL] | |
| Expected: | |
| Actual: | |
| // (6,38): error CS8179: Predefined type 'System.ValueTuple`2' is not defined or imported | |
| // System.Console.Write(Compare((1, 2), (1, 2))); | |
| Diagnostic(ErrorCode.ERR_PredefinedValueTupleTypeNotFound, "(1, 2)").WithArguments("System.ValueTuple`2").WithLocation(6, 38), | |
| // (6,46): error CS8179: Predefined type 'System.ValueTuple`2' is not defined or imported | |
| // System.Console.Write(Compare((1, 2), (1, 2))); | |
| Diagnostic(ErrorCode.ERR_PredefinedValueTupleTypeNotFound, "(1, 2)").WithArguments("System.ValueTuple`2").WithLocation(6, 46), | |
| // (7,38): error CS8179: Predefined type 'System.ValueTuple`2' is not defined or imported | |
| // System.Console.Write(Compare((1, 2), (10, 20))); | |
| Diagnostic(ErrorCode.ERR_PredefinedValueTupleTypeNotFound, "(1, 2)").WithArguments("System.ValueTuple`2").WithLocation(7, 38), | |
| // (7,46): error CS8179: Predefined type 'System.ValueTuple`2' is not defined or imported | |
| // System.Console.Write(Compare((1, 2), (10, 20))); | |
| Diagnostic(ErrorCode.ERR_PredefinedValueTupleTypeNotFound, "(10, 20)").WithArguments("System.ValueTuple`2").WithLocation(7, 46), | |
| // (9,32): error CS8179: Predefined type 'System.ValueTuple`2' is not defined or imported | |
| // public static bool Compare((decimal, decimal) t1, (decimal, decimal) t2) | |
| Diagnostic(ErrorCode.ERR_PredefinedValueTupleTypeNotFound, "(decimal, decimal)").WithArguments("System.ValueTuple`2").WithLocation(9, 32), | |
| // (9,55): error CS8179: Predefined type 'System.ValueTuple`2' is not defined or imported | |
| // public static bool Compare((decimal, decimal) t1, (decimal, decimal) t2) | |
| Diagnostic(ErrorCode.ERR_PredefinedValueTupleTypeNotFound, "(decimal, decimal)").WithArguments("System.ValueTuple`2").WithLocation(9, 55) | |
| Diff: | |
| ++> Diagnostic(ErrorCode.ERR_PredefinedValueTupleTypeNotFound, "(1, 2)").WithArguments("System.ValueTuple`2").WithLocation(6, 38) | |
| ++> Diagnostic(ErrorCode.ERR_PredefinedValueTupleTypeNotFound, "(1, 2)").WithArguments("System.ValueTuple`2").WithLocation(6, 46) | |
| ++> Diagnostic(ErrorCode.ERR_PredefinedValueTupleTypeNotFound, "(1, 2)").WithArguments("System.ValueTuple`2").WithLocation(7, 38) | |
| ++> Diagnostic(ErrorCode.ERR_PredefinedValueTupleTypeNotFound, "(10, 20)").WithArguments("System.ValueTuple`2").WithLocation(7, 46) | |
| ++> Diagnostic(ErrorCode.ERR_PredefinedValueTupleTypeNotFound, "(decimal, decimal)").WithArguments("System.ValueTuple`2").WithLocation(9, 32) | |
| ++> Diagnostic(ErrorCode.ERR_PredefinedValueTupleTypeNotFound, "(decimal, decimal)").WithArguments("System.ValueTuple`2").WithLocation(9, 55) | |
| Expected: True | |
| Actual: False | |
| Stack Trace: | |
| at Microsoft.CodeAnalysis.DiagnosticExtensions.Verify (System.Collections.Generic.IEnumerable`1[T] actual, Microsoft.CodeAnalysis.Test.Utilities.DiagnosticDescription[] expected, System.Boolean errorCodeOnly) [0x00112] in <70317bbd984c4093997bddcb09e240a0>:0 | |
| at Microsoft.CodeAnalysis.DiagnosticExtensions.Verify (System.Collections.Generic.IEnumerable`1[T] actual, Microsoft.CodeAnalysis.Test.Utilities.DiagnosticDescription[] expected) [0x00001] in <70317bbd984c4093997bddcb09e240a0>:0 | |
| at Microsoft.CodeAnalysis.DiagnosticExtensions.Verify (System.Collections.Immutable.ImmutableArray`1[T] actual, Microsoft.CodeAnalysis.Test.Utilities.DiagnosticDescription[] expected) [0x00001] in <70317bbd984c4093997bddcb09e240a0>:0 | |
| at Microsoft.CodeAnalysis.DiagnosticExtensions.VerifyDiagnostics[TCompilation] (TCompilation c, Microsoft.CodeAnalysis.Test.Utilities.DiagnosticDescription[] expected) [0x00016] in <70317bbd984c4093997bddcb09e240a0>:0 | |
| at Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTupleEqualityTests.TestOnTupleOfDecimals () [0x0002c] in <37b4d1c70fac407fb1296106f60bc2cd>:0 | |
| at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&) | |
| at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-12/external/bockbuild/builds/mono-x64/mcs/class/corlib/System.Reflection/RuntimeMethodInfo.cs:395 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment