Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

26 lines
469 B
C#

// CS0579: The attribute `ConditionalAttributeTesting.SomeAttribute' cannot be applied multiple times
// Line: 12
using System;
using System.Diagnostics;
namespace ConditionalAttributeTesting
{
class MainClass
{
[Some ("Test")]
[Some ("Test2")]
public static void Test ()
{
}
}
[AttributeUsage (AttributeTargets.All)]
[Conditional ("NOT_DEFINED")]
public sealed class SomeAttribute : Attribute
{
public SomeAttribute (string someText)
{
}
}
}