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