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
2007-03-19 Chris Toshok <toshok@ximian.com>
[mono-project.git]
/
mcs
/
errors
/
gcs1112.cs
blob
b29bf01a526ce95ad18c72b31aabea85b7a16222
1
// CS1112: Do not use `System.Runtime.CompilerServices.ExtensionAttribute' directly. Use parameter modifier `this' instead
2
// Line: 8
3
// Compiler options: -langversion:linq
4
5
using
System
.
Runtime
.
CompilerServices
;
6
7
static class
C
8
{
9
[
Extension
]
10
static void
Foo
(
this string
s
)
11
{
12
}
13
}