a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
15 lines
250 B
C#
15 lines
250 B
C#
// Compiler options: -target:library
|
|
|
|
using System.Runtime.CompilerServices;
|
|
|
|
namespace lib1
|
|
{
|
|
internal static class Foo
|
|
{
|
|
// It compiles fine, if I make this a non-extension-method:
|
|
public static void Extend (this string aString)
|
|
{
|
|
}
|
|
}
|
|
}
|