mirror of https://github.com/icsharpcode/ILSpy.git
3 changed files with 104 additions and 1 deletions
@ -0,0 +1,95 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<symbols> |
||||||
|
<files> |
||||||
|
<file id="1" name="-\C.cs" language="C#" checksumAlgorithm="SHA256"> |
||||||
|
<![CDATA[using System; |
||||||
|
|
||||||
|
internal class C : IDisposable |
||||||
|
{ |
||||||
|
private int ExpressionProperty => 42; |
||||||
|
|
||||||
|
private int Property |
||||||
|
{ |
||||||
|
get |
||||||
|
{ |
||||||
|
return 0; |
||||||
|
} |
||||||
|
set |
||||||
|
{ |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
private C this[int index] => null; |
||||||
|
|
||||||
|
private C this[string s] |
||||||
|
{ |
||||||
|
get |
||||||
|
{ |
||||||
|
return null; |
||||||
|
} |
||||||
|
set |
||||||
|
{ |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
public event Action Event |
||||||
|
{ |
||||||
|
add |
||||||
|
{ |
||||||
|
} |
||||||
|
remove |
||||||
|
{ |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
public static implicit operator C(int i) |
||||||
|
{ |
||||||
|
return null; |
||||||
|
} |
||||||
|
|
||||||
|
static C() |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
public C() |
||||||
|
{ |
||||||
|
Console.WriteLine(); |
||||||
|
} |
||||||
|
|
||||||
|
~C() |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
void IDisposable.Dispose() |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
private static void Main() |
||||||
|
{ |
||||||
|
C c = new C(); |
||||||
|
|
||||||
|
c.Event += delegate |
||||||
|
{ |
||||||
|
}; |
||||||
|
_ = c.Property; |
||||||
|
_ = c.ExpressionProperty; |
||||||
|
_ = c[0]; |
||||||
|
_ = c[""]; |
||||||
|
|
||||||
|
_ = (C)1; |
||||||
|
|
||||||
|
Local(); |
||||||
|
|
||||||
|
static void Local() |
||||||
|
{ |
||||||
|
Console.WriteLine(); |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
]]></file> |
||||||
|
</files> |
||||||
|
<methods> |
||||||
|
</methods> |
||||||
|
<method-spans> |
||||||
|
</method-spans> |
||||||
|
</symbols> |
Loading…
Reference in new issue