repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-10-22 Marek Safar <marek.safar@gmail.com>
[mcs.git]
/
errors
/
gcs1112.cs
blob
6b366abe48ed2eeabe3f95f8fb25bf777122cb41
1
// CS1112: Do not use `System.Runtime.CompilerServices.ExtensionAttribute' directly. Use parameter modifier `this' instead
2
// Line: 8
3
4
5
using
System
.
Runtime
.
CompilerServices
;
6
7
static class
C
8
{
9
[
Extension
]
10
static void
Foo
(
this string
s
)
11
{
12
}
13
}