Code & Deploy
Code
Models
Repos
Sign in
@leroysheep
/
rag-system
rag-system
/
t
/
t4018
/
csharp-exclude-init-dispose
Code
Commits
Pulls
CI/CD
81,972
jch
bisect
jch
maint
master
next
seen
test
todo
text
22 lines
344 Bytes
Copy permalink
Copy
Raw
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
}