a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
20 lines
294 B
C#
20 lines
294 B
C#
// CS1912: An object initializer includes more than one member `Count' initialization
|
|
// Line: 17
|
|
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
public class Test
|
|
{
|
|
class Container
|
|
{
|
|
public int Count;
|
|
}
|
|
|
|
static void Main ()
|
|
{
|
|
var c = new Container { Count = 1, Count = 10 };
|
|
}
|
|
}
|