71 references to WRN_XMLParseError
Microsoft.CodeAnalysis.CSharp (7)
Compiler\DocumentationCommentCompiler.cs (2)
557
_diagnostics.Add(ErrorCode.
WRN_XMLParseError
, location, GetDescription(e));
740
if ((ErrorCode)diag.Code == ErrorCode.
WRN_XMLParseError
)
Errors\ErrorFacts.cs (2)
335
case ErrorCode.
WRN_XMLParseError
:
1181
case ErrorCode.
WRN_XMLParseError
:
Errors\MessageProvider.cs (1)
156
ErrorCode.
WRN_XMLParseError
=> false, // XmlSyntaxDiagnosticInfo.GetMessage() uses distinct error code
Errors\XmlSyntaxDiagnosticInfo.cs (1)
26
: base(offset, width, ErrorCode.
WRN_XMLParseError
, args)
Generated\ErrorFacts.Generated.cs (1)
73
case ErrorCode.
WRN_XMLParseError
:
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Emit\CompilationEmitTests.cs (1)
372
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("summary").WithLocation(5, 1),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\RecordStructTests.cs (2)
3343
Diagnostic(ErrorCode.
WRN_XMLParseError
, "seealso").WithArguments("seealso", "param").WithLocation(3, 77),
3346
Diagnostic(ErrorCode.
WRN_XMLParseError
, "<").WithLocation(3, 85),
Semantics\SemanticErrorTests.cs (2)
21507
Diagnostic(ErrorCode.
WRN_XMLParseError
, ""),
21510
Diagnostic(ErrorCode.
WRN_XMLParseError
, " ").WithArguments("5"),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (28)
DocumentationComments\CrefTests.cs (14)
119
Diagnostic(ErrorCode.
WRN_XMLParseError
, ""),
122
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("see"));
140
Diagnostic(ErrorCode.
WRN_XMLParseError
, ""),
143
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("see"),
146
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("summary"),
168
Diagnostic(ErrorCode.
WRN_XMLParseError
, ""),
171
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("see"),
196
Diagnostic(ErrorCode.
WRN_XMLParseError
, ""),
199
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("see"),
202
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("summary"),
219
Diagnostic(ErrorCode.
WRN_XMLParseError
, ""),
222
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("see"),
225
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("summary"),
5398
Diagnostic(ErrorCode.
WRN_XMLParseError
, @" cref=""long").WithArguments("cref"));
DocumentationComments\DocumentationCommentCompilerTests.cs (11)
1222
Diagnostic(ErrorCode.
WRN_XMLParseError
, "a").WithArguments("a", "summary").WithLocation(4, 20),
1225
Diagnostic(ErrorCode.
WRN_XMLParseError
, "<").WithLocation(4, 22)
2678
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("The '\u1680' character, hexadecimal value 0x1680, cannot be included in a name."));
2732
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("Name cannot begin with the '\u1680' character, hexadecimal value 0x1680."),
2735
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("Name cannot begin with the '\u1680' character, hexadecimal value 0x1680."),
2738
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("Name cannot begin with the '\u1680' character, hexadecimal value 0x1680."));
5716
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("'WpfUtils' is an undeclared prefix."));
6448
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("The ':' character, hexadecimal value 0x3A, cannot be included in a name."));
6856
Diagnostic(ErrorCode.
WRN_XMLParseError
, ""));
6894
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("summary").WithLocation(7, 1),
6897
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("summary").WithLocation(7, 1)
DocumentationComments\DocumentationModeTests.cs (2)
43
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("unclosed"),
46
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("unclosed"));
DocumentationComments\ParameterTests.cs (1)
688
Diagnostic(ErrorCode.
WRN_XMLParseError
, @" name=""y").WithArguments("name"));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (31)
LexicalAndXml\XmlDocCommentTests.cs (31)
1809
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("bar"));
2449
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("Goo"));
2475
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("Goo"));
2549
Diagnostic(ErrorCode.
WRN_XMLParseError
, "goo").WithArguments("goo", "bar"),
2552
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("goo"));
2575
Diagnostic(ErrorCode.
WRN_XMLParseError
, "goo").WithArguments("goo", "bar"),
2578
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("goo"));
2795
Diagnostic(ErrorCode.
WRN_XMLParseError
, ""),
2798
Diagnostic(ErrorCode.
WRN_XMLParseError
, ""),
2802
Diagnostic(ErrorCode.
WRN_XMLParseError
, ""),
2805
Diagnostic(ErrorCode.
WRN_XMLParseError
, ""),
2812
Diagnostic(ErrorCode.
WRN_XMLParseError
, ""),
2815
Diagnostic(ErrorCode.
WRN_XMLParseError
, ""),
2818
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("other"));
2847
Diagnostic(ErrorCode.
WRN_XMLParseError
, ""),
2850
Diagnostic(ErrorCode.
WRN_XMLParseError
, "summary").WithArguments("summary", "nodename"),
2853
Diagnostic(ErrorCode.
WRN_XMLParseError
, ""),
2856
Diagnostic(ErrorCode.
WRN_XMLParseError
, ""),
2859
Diagnostic(ErrorCode.
WRN_XMLParseError
, ""),
2862
Diagnostic(ErrorCode.
WRN_XMLParseError
, ""),
2865
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("nodename"),
2868
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("project"),
2871
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("summary"));
2891
Diagnostic(ErrorCode.
WRN_XMLParseError
, " "),
2894
Diagnostic(ErrorCode.
WRN_XMLParseError
, " "),
2897
Diagnostic(ErrorCode.
WRN_XMLParseError
, " "),
2900
Diagnostic(ErrorCode.
WRN_XMLParseError
, " "));
2924
Diagnostic(ErrorCode.
WRN_XMLParseError
, "A :B").WithArguments("A :B", "A:B").WithLocation(7, 7),
2927
Diagnostic(ErrorCode.
WRN_XMLParseError
, " ").WithLocation(7, 8),
2930
Diagnostic(ErrorCode.
WRN_XMLParseError
, "A: B").WithArguments("A: B", "A:B").WithLocation(10, 7),
2933
Diagnostic(ErrorCode.
WRN_XMLParseError
, " ").WithLocation(10, 9)