git
[Ported from github.com/git/git] Sync with Git 2.56.1
Brought by drakestapleton
git / t / t4018 / csharp-exclude-init-dispose
| 1 | using System; |
| 2 | |
| 3 | class Example : IDisposable |
| 4 | { |
| 5 | string Method(int RIGHT) |
| 6 | { |
| 7 | new Example(); |
| 8 | new Example( |
| 9 | ); |
| 10 | new Example { }; |
| 11 | using (this) |
| 12 | { |
| 13 | } |
| 14 | var def = |
| 15 | this is default( |
| 16 | Example); |
| 17 | |
| 18 | return "ChangeMe"; |
| 19 | } |
| 20 | |
| 21 | public void Dispose() {} |
| 22 | } |