repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Reenable a bunch of disabled iOS Mono SDKs test suites (#19301)
[mono-project.git]
/
mcs
/
errors
/
cs0728-2.cs
blob
2f361a5f6f4d823dde286cd40453a7ec111d4f1d
1
// CS0728: Possibly incorrect assignment to `d' which is the argument to a using or lock statement
2
// Line: 12
3
// Compiler options: -warnaserror
4
5
using
System
;
6
7
public class
Foo
8
{
9
public static void
Test
(
IDisposable d
)
10
{
11
using
(
d
) {
12
d
=
null
;
13
}
14
}
15
}