plugins: change return codes of geany_load_module() and GeanyPluginFuncs::init
[geany-mirror.git] / tests / ctags / attributes.cs
blob1d88f8a319ed44fa4d75b5a7426d611183d24fce
1 [DllImport] public class MyDllimportClass {}
3 [DllImport("user32.dll", SetLastError=false, ExactSpelling=false)]
4 [DllImport("user32.dll", ExactSpelling=false, SetLastError=false)]
5 [DllImport("user32.dll")]
7 [Conditional("DEBUG"), Conditional("TEST1")] void TraceMethod() {}
9 using System;
10 [AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct)]
11 public class Author : Attribute
13 public Author(string name) { this.name = name; version = 1.0; }
14 public double version;
15 string name;
18 [AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct,
19 AllowMultiple=true)] // multiuse attribute
20 public class Author : Attribute