36 references to WRN_InvalidAttributeLocation
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
339
case ErrorCode.
WRN_InvalidAttributeLocation
:
1020
or ErrorCode.
WRN_InvalidAttributeLocation
Generated\ErrorFacts.Generated.cs (1)
53
case ErrorCode.
WRN_InvalidAttributeLocation
:
Symbols\Symbol_Attributes.cs (1)
710
diagnostics.Add(ErrorCode.
WRN_InvalidAttributeLocation
,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (32)
Attributes\AttributeTests_Locations.cs (32)
122
Diagnostic(ErrorCode.
WRN_InvalidAttributeLocation
, "delegate").WithArguments("delegate", "type"));
170
Diagnostic(ErrorCode.
WRN_InvalidAttributeLocation
, "delegate").WithArguments("delegate", "type"));
218
Diagnostic(ErrorCode.
WRN_InvalidAttributeLocation
, "delegate").WithArguments("delegate", "type"));
266
Diagnostic(ErrorCode.
WRN_InvalidAttributeLocation
, "delegate").WithArguments("delegate", "type"));
314
Diagnostic(ErrorCode.
WRN_InvalidAttributeLocation
, "delegate").WithArguments("delegate", "type"));
362
Diagnostic(ErrorCode.
WRN_InvalidAttributeLocation
, "delegate").WithArguments("delegate", "type"));
406
Diagnostic(ErrorCode.
WRN_InvalidAttributeLocation
, "delegate").WithArguments("delegate", "type, return"));
453
Diagnostic(ErrorCode.
WRN_InvalidAttributeLocation
, "delegate").WithArguments("delegate", "method, return"));
502
Diagnostic(ErrorCode.
WRN_InvalidAttributeLocation
, "delegate").WithArguments("delegate", "field"),
553
Diagnostic(ErrorCode.
WRN_InvalidAttributeLocation
, "delegate").WithArguments("delegate", "field"));
600
Diagnostic(ErrorCode.
WRN_InvalidAttributeLocation
, "delegate").WithArguments("delegate", "field, property").WithLocation(20, 6));
661
Diagnostic(ErrorCode.
WRN_InvalidAttributeLocation
, "delegate").WithArguments("delegate", "method, return").WithLocation(22, 10));
719
Diagnostic(ErrorCode.
WRN_InvalidAttributeLocation
, "delegate").WithArguments("delegate", "method, param, return").WithLocation(24, 10));
764
Diagnostic(ErrorCode.
WRN_InvalidAttributeLocation
, "delegate").WithArguments("delegate", "method, field, event"),
813
Diagnostic(ErrorCode.
WRN_InvalidAttributeLocation
, "delegate").WithArguments("delegate", "method, event"));
862
Diagnostic(ErrorCode.
WRN_InvalidAttributeLocation
, "delegate").WithArguments("delegate", "event"));
912
Diagnostic(ErrorCode.
WRN_InvalidAttributeLocation
, "delegate").WithArguments("delegate", "method, param, return"));
962
Diagnostic(ErrorCode.
WRN_InvalidAttributeLocation
, "delegate").WithArguments("delegate", "method, param, return"));
1013
Diagnostic(ErrorCode.
WRN_InvalidAttributeLocation
, "delegate").WithArguments("delegate", "typevar"));
1064
Diagnostic(ErrorCode.
WRN_InvalidAttributeLocation
, "delegate").WithArguments("delegate", "param"));
1112
Diagnostic(ErrorCode.
WRN_InvalidAttributeLocation
, "delegate").WithArguments("delegate", "param"));
1166
Diagnostic(ErrorCode.
WRN_InvalidAttributeLocation
, "delegate").WithArguments("delegate", "param"));
1192
Diagnostic(ErrorCode.
WRN_InvalidAttributeLocation
, "class").WithArguments("class", "type"),
1194
Diagnostic(ErrorCode.
WRN_InvalidAttributeLocation
, "struct").WithArguments("struct", "type"),
1196
Diagnostic(ErrorCode.
WRN_InvalidAttributeLocation
, "interface").WithArguments("interface", "type"),
1198
Diagnostic(ErrorCode.
WRN_InvalidAttributeLocation
, "delegate").WithArguments("delegate", "type"),
1200
Diagnostic(ErrorCode.
WRN_InvalidAttributeLocation
, "enum").WithArguments("enum", "type"),
1202
Diagnostic(ErrorCode.
WRN_InvalidAttributeLocation
, "add").WithArguments("add", "type"),
1204
Diagnostic(ErrorCode.
WRN_InvalidAttributeLocation
, "remove").WithArguments("remove", "type"),
1206
Diagnostic(ErrorCode.
WRN_InvalidAttributeLocation
, "get").WithArguments("get", "type"),
1208
Diagnostic(ErrorCode.
WRN_InvalidAttributeLocation
, "set").WithArguments("set", "type"));
1239
Diagnostic(ErrorCode.
WRN_InvalidAttributeLocation
, "goo").WithArguments("goo", "method, return"));