[mono/tests] Fix out of tree build.
[mono-project.git] / mcs / tests / test-partial-31.cs
blob849fabdaa335559d76f253617647d0b893da41a5
1 using System;
3 namespace TestPartialOverride.BaseNamespace
5 public abstract class Base
7 protected virtual void OverrideMe ()
9 Console.Out.WriteLine ("OverrideMe");
14 namespace TestPartialOverride.Outer.Nested.Namespace
16 internal partial class Inherits
18 protected override void OverrideMe ()
20 Console.Out.WriteLine ("Overridden");
25 namespace TestPartialOverride.Outer
27 namespace Nested.Namespace
29 internal partial class Inherits : TestPartialOverride.BaseNamespace.Base
31 public void DoesSomethignElse ()
33 OverrideMe ();
38 public class C
40 public static void Main ()
42 new TestPartialOverride.Outer.Nested.Namespace.Inherits ().DoesSomethignElse ();