@@ -1506,7 +1506,7 @@ public void TestDeconstruction()
varexpectedDiagnostics=new[]
{
// (8,12): error CS1768: Type 'ValueTuple<T1, T2>' cannot be embedded because it has a generic argument. Consider setting the 'Embed Interop Types' property to false.
// (8,12): error CS1768: Type 'ValueTuple<T1, T2>' cannot be embedded because it has a generic argument. Consider setting the 'Embed Interop Types' property to false.
// (4,19): error CS1768: Type 'ValueTuple<T1, T2>' cannot be embedded because it has a generic argument. Consider setting the 'Embed Interop Types' property to false.
...
...
@@ -1514,7 +1514,10 @@ public void TestDeconstruction()
// (14,16): error CS1768: Type 'ValueTuple<T1, T2>' cannot be embedded because it has a generic argument. Consider setting the 'Embed Interop Types' property to false.
// (19,9): error CS1768: Type 'ValueTuple<T1, T2>' cannot be embedded because it has a generic argument. Consider setting the 'Embed Interop Types' property to false.
// (x, y) = new C();
Diagnostic(ErrorCode.ERR_GenericsUsedInNoPIAType,"(x, y) = new C()").WithArguments("System.ValueTuple<T1, T2>").WithLocation(19,9)