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

34 lines
944 B
C#

namespace Foo {
public partial class X
{
public static void Main () {}
}
}
namespace Foo {
using System;
using System.Collections;
public partial class X
{
public static IEnumerable Attempts2()
{
AttributeTargets t = AttributeTargets.All;
yield break;
}
public static IEnumerable Attempts {
get {
AttributeTargets t = AttributeTargets.All;
yield break;
}
}
public IEnumerable this [int i] {
get {
AttributeTargets t = AttributeTargets.All;
yield break;
}
}
}
}