3 references to ERR_AttributeOnBadSymbolType
Microsoft.CodeAnalysis.CSharp (3)
Errors\ErrorFacts.cs (1)
977
or ErrorCode.
ERR_AttributeOnBadSymbolType
Symbols\Source\SourceNamedTypeSymbol.cs (1)
1213
diagnostics.Add(ErrorCode.
ERR_AttributeOnBadSymbolType
, arguments.AttributeSyntaxOpt.Name.Location, arguments.AttributeSyntaxOpt.GetErrorDisplayName(), "struct");
Symbols\Symbol_Attributes.cs (1)
922
diagnostics.Add(ErrorCode.
ERR_AttributeOnBadSymbolType
, node.Name.Location, node.GetErrorDisplayName(), attributeUsageInfo.GetValidTargetsErrorArgument());