1
1
attributes.cs:
2
- # 10| [Attribute ] [AssemblyTitle(...)]
2
+ # 10| [AssemblyAttribute ] [AssemblyTitle(...)]
3
3
# 10| -1: [TypeMention] AssemblyTitleAttribute
4
4
# 10| 0: [StringLiteral] "C# attributes test"
5
- # 11| [Attribute ] [AssemblyDescription(...)]
5
+ # 11| [AssemblyAttribute ] [AssemblyDescription(...)]
6
6
# 11| -1: [TypeMention] AssemblyDescriptionAttribute
7
7
# 11| 0: [StringLiteral] "A test of C# attributes"
8
- # 12| [Attribute ] [AssemblyConfiguration(...)]
8
+ # 12| [AssemblyAttribute ] [AssemblyConfiguration(...)]
9
9
# 12| -1: [TypeMention] AssemblyConfigurationAttribute
10
10
# 12| 0: [StringLiteral] ""
11
- # 13| [Attribute ] [AssemblyCompany(...)]
11
+ # 13| [AssemblyAttribute ] [AssemblyCompany(...)]
12
12
# 13| -1: [TypeMention] AssemblyCompanyAttribute
13
13
# 13| 0: [StringLiteral] "Semmle Plc"
14
- # 14| [Attribute ] [AssemblyProduct(...)]
14
+ # 14| [AssemblyAttribute ] [AssemblyProduct(...)]
15
15
# 14| -1: [TypeMention] AssemblyProductAttribute
16
16
# 14| 0: [StringLiteral] "Odasa"
17
- # 15| [Attribute ] [AssemblyCopyright(...)]
17
+ # 15| [AssemblyAttribute ] [AssemblyCopyright(...)]
18
18
# 15| -1: [TypeMention] AssemblyCopyrightAttribute
19
19
# 15| 0: [StringLiteral] "Copyright © Semmle 2018"
20
- # 16| [Attribute ] [AssemblyTrademark(...)]
20
+ # 16| [AssemblyAttribute ] [AssemblyTrademark(...)]
21
21
# 16| -1: [TypeMention] AssemblyTrademarkAttribute
22
22
# 16| 0: [StringLiteral] ""
23
- # 17| [Attribute ] [AssemblyCulture(...)]
23
+ # 17| [AssemblyAttribute ] [AssemblyCulture(...)]
24
24
# 17| -1: [TypeMention] AssemblyCultureAttribute
25
25
# 17| 0: [StringLiteral] ""
26
- # 22| [Attribute ] [ComVisible(...)]
26
+ # 22| [AssemblyAttribute ] [ComVisible(...)]
27
27
# 22| -1: [TypeMention] ComVisibleAttribute
28
28
# 22| 0: [BoolLiteral] false
29
- # 25| [Attribute ] [Guid(...)]
29
+ # 25| [AssemblyAttribute ] [Guid(...)]
30
30
# 25| -1: [TypeMention] GuidAttribute
31
31
# 25| 0: [StringLiteral] "2f70fdd6-14aa-4850-b053-d547adb1f476"
32
- # 37| [Attribute ] [AssemblyVersion(...)]
32
+ # 37| [AssemblyAttribute ] [AssemblyVersion(...)]
33
33
# 37| -1: [TypeMention] AssemblyVersionAttribute
34
34
# 37| 0: [StringLiteral] "1.0.0.0"
35
- # 38| [Attribute ] [AssemblyFileVersion(...)]
35
+ # 38| [AssemblyAttribute ] [AssemblyFileVersion(...)]
36
36
# 38| -1: [TypeMention] AssemblyFileVersionAttribute
37
37
# 38| 0: [StringLiteral] "1.0.0.0"
38
- # 40| [Attribute ] [Args(...)]
38
+ # 40| [AssemblyAttribute ] [Args(...)]
39
39
# 40| -1: [TypeMention] ArgsAttribute
40
40
# 40| 0: [IntLiteral] 0
41
41
# 40| 1: [ArrayCreation] array creation of type Object[]
@@ -64,7 +64,7 @@ attributes.cs:
64
64
# 40| 1: [TypeofExpr] typeof(...)
65
65
# 40| 0: [TypeAccess] access to type Int32
66
66
# 40| 0: [TypeMention] int
67
- # 41| [Attribute ] [Args(...)]
67
+ # 41| [ModuleAttribute ] [Args(...)]
68
68
# 41| -1: [TypeMention] ArgsAttribute
69
69
# 41| 0: [IntLiteral] 0
70
70
# 41| 1: [ArrayCreation] array creation of type Object[]
@@ -95,7 +95,7 @@ attributes.cs:
95
95
# 41| 0: [TypeMention] int
96
96
# 44| [Class] Foo
97
97
#-----| 0: (Attributes)
98
- # 43| 1: [Attribute ] [AttributeUsage(...)]
98
+ # 43| 1: [DefaultAttribute ] [AttributeUsage(...)]
99
99
# 43| -1: [TypeMention] AttributeUsageAttribute
100
100
# 43| 0: [MemberConstantAccess] access to constant All
101
101
# 43| -1: [TypeAccess] access to type AttributeTargets
@@ -105,7 +105,7 @@ attributes.cs:
105
105
# 47| 5: [Method] foo
106
106
# 47| -1: [TypeMention] Void
107
107
#-----| 0: (Attributes)
108
- # 46| 1: [Attribute ] [Conditional(...)]
108
+ # 46| 1: [DefaultAttribute ] [Conditional(...)]
109
109
# 46| -1: [TypeMention] ConditionalAttribute
110
110
# 46| 0: [StringLiteral] "DEBUG2"
111
111
# 47| 4: [BlockStmt] {...}
@@ -116,7 +116,7 @@ attributes.cs:
116
116
# 52| 0: [Parameter] x
117
117
# 52| -1: [TypeMention] int
118
118
#-----| 0: (Attributes)
119
- # 52| 1: [Attribute ] [Foo(...)]
119
+ # 52| 1: [DefaultAttribute ] [Foo(...)]
120
120
# 52| 0: [TypeMention] Foo
121
121
# 52| 4: [BlockStmt] {...}
122
122
# 52| 0: [ReturnStmt] return ...;
@@ -126,19 +126,19 @@ attributes.cs:
126
126
# 55| 6: [Method] M1
127
127
# 55| -1: [TypeMention] Void
128
128
#-----| 0: (Attributes)
129
- # 54| 1: [Attribute ] [My(...)]
129
+ # 54| 1: [DefaultAttribute ] [My(...)]
130
130
# 54| -1: [TypeMention] MyAttribute
131
131
# 54| 0: [BoolLiteral] false
132
132
# 55| 4: [BlockStmt] {...}
133
133
# 59| 7: [Method] M2
134
134
# 59| -1: [TypeMention] Void
135
135
#-----| 0: (Attributes)
136
- # 57| 1: [Attribute ] [My(...)]
136
+ # 57| 1: [DefaultAttribute ] [My(...)]
137
137
# 57| -1: [TypeMention] MyAttribute
138
138
# 57| 0: [BoolLiteral] true
139
139
# 57| 1: [StringLiteral] ""
140
140
# 57| 2: [IntLiteral] 0
141
- # 58| 2: [Attribute ] [My2(...)]
141
+ # 58| 2: [DefaultAttribute ] [My2(...)]
142
142
# 58| -1: [TypeMention] My2Attribute
143
143
# 58| 0: [BoolLiteral] false
144
144
# 58| 1: [BoolLiteral] true
@@ -192,7 +192,7 @@ attributes.cs:
192
192
# 74| 4: [BlockStmt] {...}
193
193
# 78| [Class] X
194
194
#-----| 0: (Attributes)
195
- # 77| 1: [Attribute ] [Args(...)]
195
+ # 77| 1: [DefaultAttribute ] [Args(...)]
196
196
# 77| -1: [TypeMention] ArgsAttribute
197
197
# 77| 0: [IntLiteral] 42
198
198
# 77| 1: [NullLiteral] null
@@ -221,7 +221,7 @@ attributes.cs:
221
221
# 82| 5: [Method] SomeMethod
222
222
# 82| -1: [TypeMention] int
223
223
#-----| 0: (Attributes)
224
- # 80| 1: [Attribute ] [Args(...)]
224
+ # 80| 1: [DefaultAttribute ] [Args(...)]
225
225
# 80| -1: [TypeMention] ArgsAttribute
226
226
# 80| 0: [AddExpr] ... + ...
227
227
# 80| 0: [IntLiteral] 42
@@ -248,7 +248,7 @@ attributes.cs:
248
248
# 80| 1: [TypeofExpr] typeof(...)
249
249
# 80| 0: [TypeAccess] access to type Int32
250
250
# 80| 0: [TypeMention] int
251
- # 81| 2: [Attribute ] [Args(...)]
251
+ # 81| 2: [ReturnAttribute ] [Args(...)]
252
252
# 81| -1: [TypeMention] ArgsAttribute
253
253
# 81| 0: [AddExpr] ... + ...
254
254
# 81| 0: [IntLiteral] 42
0 commit comments