mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
21 lines
322 B
C#
21 lines
322 B
C#
// cs1016.cs: Named attribute argument expected
|
|
// Line: 19
|
|
|
|
using System;
|
|
using System.Runtime.CompilerServices;
|
|
|
|
class Attr: Attribute
|
|
{
|
|
public Attr (int i) {}
|
|
|
|
public string Arg {
|
|
set {}
|
|
get { return "a"; }
|
|
}
|
|
}
|
|
|
|
public class E
|
|
{
|
|
[Attr (Arg = "xxx", 3)]
|
|
public void Method () {}
|
|
} |