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
update
[mcs.git]
/
tests
/
gtest-exmethod-24-lib.cs
blob
71dd6607c31da3f0fbd071cae4967b412e6a4fd2
1
// Compiler options: -target:library
2
3
using
System
.
Runtime
.
CompilerServices
;
4
5
namespace
lib1
6
{
7
internal static class
Foo
8
{
9
// It compiles fine, if I make this a non-extension-method:
10
public static void
Extend
(
this string
aString
)
11
{
12
}
13
}
14
}