linux-packaging-mono/mcs/tests/gtest-initialize-03.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

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 };
}
}