diff options
Diffstat (limited to 't/t4018/csharp-exclude-init-dispose')
-rw-r--r-- | t/t4018/csharp-exclude-init-dispose | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/t/t4018/csharp-exclude-init-dispose b/t/t4018/csharp-exclude-init-dispose new file mode 100644 index 0000000..2bc8e19 --- /dev/null +++ b/t/t4018/csharp-exclude-init-dispose @@ -0,0 +1,22 @@ +using System; + +class Example : IDisposable +{ + string Method(int RIGHT) + { + new Example(); + new Example( + ); + new Example { }; + using (this) + { + } + var def = + this is default( + Example); + + return "ChangeMe"; + } + + public void Dispose() {} +} |