summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/cs/60016-UNI-11662.cs
blob: 9a49fdbac1d8f0a25a778f0e8805e4946f7dc12e (plain)
1
2
3
4
5
6
7
8
9
10
namespace Unity
{
    public class Class
    {
        // doesn't work because ; gets removed but
        public static readonly Class A = new Class() { name = "A", id = 1 };
        // works and ; doesn't get removed
        public static readonly Class B = new Class { name = "B", id = 2 };
    }
}