diff --git a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/Operators.cs b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/Operators.cs index 96a033415..3d93fad27 100644 --- a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/Operators.cs +++ b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/Operators.cs @@ -294,5 +294,21 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty #endif a = num; } +#if CS110 + public void CheckedCompoundAssign() + { + a += b; + a -= b; + checked + { + a += b; + a -= b; + a *= b; + a /= b; + } + // force end of checked block: + ++a; + } +#endif } } \ No newline at end of file