a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
29 lines
291 B
C#
29 lines
291 B
C#
using System;
|
|
|
|
class Item
|
|
{
|
|
internal static object Field = "Test";
|
|
}
|
|
|
|
class Caller
|
|
{
|
|
public string this[string x]
|
|
{
|
|
get { return x; }
|
|
}
|
|
|
|
public int this[int x]
|
|
{
|
|
get { return x; }
|
|
}
|
|
|
|
public void Foo ()
|
|
{
|
|
var v = Item.Field.ToString ();
|
|
}
|
|
|
|
public static void Main ()
|
|
{
|
|
}
|
|
}
|