[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git] / mcs / errors / cs0579-13.cs
blobf2edce11a31c1936af4aa8a6f470ca424ee87970
1 // CS0579: The attribute `ConditionalAttributeTesting.SomeAttribute' cannot be applied multiple times
2 // Line: 12
4 using System;
5 using System.Diagnostics;
7 namespace ConditionalAttributeTesting
9 class MainClass
11 [Some ("Test")]
12 [Some ("Test2")]
13 public static void Test ()
18 [AttributeUsage (AttributeTargets.All)]
19 [Conditional ("NOT_DEFINED")]
20 public sealed class SomeAttribute : Attribute
22 public SomeAttribute (string someText)