a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
31 lines
364 B
C#
31 lines
364 B
C#
|
|
|
|
using System;
|
|
using System.Collections;
|
|
|
|
class Data
|
|
{
|
|
public int Value;
|
|
}
|
|
|
|
public class Test
|
|
{
|
|
static Data Prop {
|
|
set {
|
|
}
|
|
}
|
|
|
|
public object Foo ()
|
|
{
|
|
return new Data () { Value = 3 };
|
|
}
|
|
|
|
public static void Main ()
|
|
{
|
|
Prop = new Data () { Value = 3 };
|
|
Data data = new Data () { Value = 6 };
|
|
Data a, b;
|
|
a = b = new Data () { Value = 3 };
|
|
}
|
|
}
|