repo.or.cz
/
git
/
gitster.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
The sixth batch
[git/gitster.git]
/
t
/
t4018
/
csharp-exclude-init-dispose
blob
2bc8e194e20bc35a629c91b6b0179f9e986baa00
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
}