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
Remove unnecessary !s for [DoesNotReturn] (dotnet/coreclr#26512)
[mono-project.git]
/
mcs
/
errors
/
cs1674-2.cs
blob
5dc99682a8733ce72e8ebf5152ef80758acef77e
1
// CS1674: `object': type used in a using statement must be implicitly convertible to `System.IDisposable'
2
// Line: 10
3
4
using
System
;
5
6
class
C
7
{
8
void
Method
(
IDisposable i
)
9
{
10
using
(
object
o
=
i
)
11
{
12
}
13
}
14
}