X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ftests%2Ftest-526.cs;h=32d8300a07ec57450bb8b00cbfa123310324762c;hb=HEAD;hp=ad3983c83850d2e569e12546b5757de76cbe530f;hpb=e51a9b6ba1a93bc981639a706c93bee413099fd6;p=mono.git diff --git a/mcs/tests/test-526.cs b/mcs/tests/test-526.cs index ad3983c8385..32d8300a07e 100644 --- a/mcs/tests/test-526.cs +++ b/mcs/tests/test-526.cs @@ -1,76 +1,76 @@ using System; -interface IList +interface IList { int Count (); } -interface ICounter +interface ICounter { - int Count { set; } + int Count { set; } } -interface IListCounter: IList, ICounter -{ -} - -interface IA -{ - int Value (); -} - -interface IB : IA -{ - new int Value { get; } -} - -interface IC : IB -{ - new int Value { get; } -} - -interface IBB : IList, ICounter -{ -} - -interface ICC : IBB -{ -} - -interface IM1 -{ - void Add (int arg); -} - -interface IM2 : IM1 -{ - int Add (int arg, bool now); +interface IListCounter: IList, ICounter +{ } -class Test -{ - static void Main () - { - } +interface IA +{ + int Value (); +} + +interface IB : IA +{ + new int Value { get; } +} + +interface IC : IB +{ + new int Value { get; } +} + +interface IBB : IList, ICounter +{ +} + +interface ICC : IBB +{ +} + +interface IM1 +{ + void Add (int arg); +} + +interface IM2 : IM1 +{ + int Add (int arg, bool now); +} + +class Test +{ + public static void Main () + { + } static void Foo (IListCounter t) { t.Count (); - } - - void Foo2 (IC b) - { - int i = b.Value; - } - - void Foo3 (ICC c) - { - c.Count (); - } - - void Foo4 (IM2 im2) - { - im2.Add (2); + } + + void Foo2 (IC b) + { + int i = b.Value; + } + + void Foo3 (ICC c) + { + c.Count (); + } + + void Foo4 (IM2 im2) + { + im2.Add (2); } } \ No newline at end of file