mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
attributes. Fix for #56456. * attribute.cs (Attribute.Resolve): Check for duplicate named attributes. Fix for #56463. svn path=/trunk/mcs/; revision=25532
14 lines
181 B
C#
14 lines
181 B
C#
// cs0643.cs: 'x' duplicate named attribute argument
|
|
// Line: 8
|
|
|
|
using System;
|
|
|
|
public class A : Attribute {
|
|
public int x;
|
|
[A (x = 1, x = 2)]
|
|
public static void Main ()
|
|
{
|
|
}
|
|
}
|
|
|