28 lines
385 B
C#
28 lines
385 B
C#
|
// Compiler options: -langversion:latest
|
||
|
|
||
|
using System;
|
||
|
|
||
|
public static class B {
|
||
|
public static void Main ()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
static void Foo (this in int src)
|
||
|
{
|
||
|
D p = (in int a) => {};
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
delegate void D (in int arg);
|
||
|
|
||
|
class M
|
||
|
{
|
||
|
int this[in int a] { set { } }
|
||
|
public static implicit operator string (in M m) => null;
|
||
|
public M (in int arg) { }
|
||
|
|
||
|
public void Test2 (in int arg)
|
||
|
{
|
||
|
}
|
||
|
}
|