83 references to WRN_XMLParseError
Microsoft.CodeAnalysis.CSharp (7)
Compiler\DocumentationCommentCompiler.cs (2)
599
_diagnostics.Add(ErrorCode.
WRN_XMLParseError
, location, GetDescription(e));
782
if ((ErrorCode)diag.Code == ErrorCode.
WRN_XMLParseError
)
Errors\ErrorFacts.cs (2)
348
case ErrorCode.
WRN_XMLParseError
:
1243
or ErrorCode.
WRN_XMLParseError
Errors\MessageProvider.cs (1)
148
ErrorCode.
WRN_XMLParseError
=> false, // XmlSyntaxDiagnosticInfo.GetMessage() uses distinct error code
Errors\XmlSyntaxDiagnosticInfo.cs (1)
21
: 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)
373
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("summary").WithLocation(5, 1),
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Semantics\ExtensionTests.cs (2)
43443
Diagnostic(ErrorCode.
WRN_XMLParseError
, "error").WithArguments("error", "summary").WithLocation(5, 24),
43446
Diagnostic(ErrorCode.
WRN_XMLParseError
, "error").WithArguments("error", "summary").WithLocation(8, 24));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\RecordStructTests.cs (2)
3445
Diagnostic(ErrorCode.
WRN_XMLParseError
, "seealso").WithArguments("seealso", "param").WithLocation(3, 77),
3448
Diagnostic(ErrorCode.
WRN_XMLParseError
, "<").WithLocation(3, 85),
Semantics\SemanticErrorTests.cs (2)
21731
Diagnostic(ErrorCode.
WRN_XMLParseError
, ""),
21734
Diagnostic(ErrorCode.
WRN_XMLParseError
, " ").WithArguments("5"),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (38)
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 (21)
1228
Diagnostic(ErrorCode.
WRN_XMLParseError
, "a").WithArguments("a", "summary").WithLocation(4, 20),
1231
Diagnostic(ErrorCode.
WRN_XMLParseError
, "<").WithLocation(4, 22)
1908
Diagnostic(ErrorCode.
WRN_XMLParseError
, "a").WithArguments("a", "summary").WithLocation(4, 20),
1911
Diagnostic(ErrorCode.
WRN_XMLParseError
, "<").WithLocation(4, 22)
2798
Diagnostic(ErrorCode.
WRN_XMLParseError
, "a").WithArguments("a", "summary").WithLocation(3, 20),
2801
Diagnostic(ErrorCode.
WRN_XMLParseError
, "<").WithLocation(3, 22)
2851
Diagnostic(ErrorCode.
WRN_XMLParseError
, "a").WithArguments("a", "summary").WithLocation(3, 20),
2854
Diagnostic(ErrorCode.
WRN_XMLParseError
, "<").WithLocation(3, 22)
2907
Diagnostic(ErrorCode.
WRN_XMLParseError
, "a").WithArguments("a", "summary").WithLocation(3, 20),
2910
Diagnostic(ErrorCode.
WRN_XMLParseError
, "<").WithLocation(3, 22)
2963
Diagnostic(ErrorCode.
WRN_XMLParseError
, "a").WithArguments("a", "summary").WithLocation(3, 20),
2966
Diagnostic(ErrorCode.
WRN_XMLParseError
, "<").WithLocation(3, 22)
4423
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("The '\u1680' character, hexadecimal value 0x1680, cannot be included in a name."));
4477
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("Name cannot begin with the '\u1680' character, hexadecimal value 0x1680."),
4480
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("Name cannot begin with the '\u1680' character, hexadecimal value 0x1680."),
4483
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("Name cannot begin with the '\u1680' character, hexadecimal value 0x1680."));
7461
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("'WpfUtils' is an undeclared prefix."));
8193
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("The ':' character, hexadecimal value 0x3A, cannot be included in a name."));
8601
Diagnostic(ErrorCode.
WRN_XMLParseError
, ""));
8639
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("summary").WithLocation(7, 1),
8642
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)
1810
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("bar"));
2450
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("Goo"));
2476
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("Goo"));
2550
Diagnostic(ErrorCode.
WRN_XMLParseError
, "goo").WithArguments("goo", "bar"),
2553
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("goo"));
2576
Diagnostic(ErrorCode.
WRN_XMLParseError
, "goo").WithArguments("goo", "bar"),
2579
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("goo"));
2796
Diagnostic(ErrorCode.
WRN_XMLParseError
, ""),
2799
Diagnostic(ErrorCode.
WRN_XMLParseError
, ""),
2803
Diagnostic(ErrorCode.
WRN_XMLParseError
, ""),
2806
Diagnostic(ErrorCode.
WRN_XMLParseError
, ""),
2813
Diagnostic(ErrorCode.
WRN_XMLParseError
, ""),
2816
Diagnostic(ErrorCode.
WRN_XMLParseError
, ""),
2819
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("other"));
2848
Diagnostic(ErrorCode.
WRN_XMLParseError
, ""),
2851
Diagnostic(ErrorCode.
WRN_XMLParseError
, "summary").WithArguments("summary", "nodename"),
2854
Diagnostic(ErrorCode.
WRN_XMLParseError
, ""),
2857
Diagnostic(ErrorCode.
WRN_XMLParseError
, ""),
2860
Diagnostic(ErrorCode.
WRN_XMLParseError
, ""),
2863
Diagnostic(ErrorCode.
WRN_XMLParseError
, ""),
2866
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("nodename"),
2869
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("project"),
2872
Diagnostic(ErrorCode.
WRN_XMLParseError
, "").WithArguments("summary"));
2892
Diagnostic(ErrorCode.
WRN_XMLParseError
, " "),
2895
Diagnostic(ErrorCode.
WRN_XMLParseError
, " "),
2898
Diagnostic(ErrorCode.
WRN_XMLParseError
, " "),
2901
Diagnostic(ErrorCode.
WRN_XMLParseError
, " "));
2925
Diagnostic(ErrorCode.
WRN_XMLParseError
, "A :B").WithArguments("A :B", "A:B").WithLocation(7, 7),
2928
Diagnostic(ErrorCode.
WRN_XMLParseError
, " ").WithLocation(7, 8),
2931
Diagnostic(ErrorCode.
WRN_XMLParseError
, "A: B").WithArguments("A: B", "A:B").WithLocation(10, 7),
2934
Diagnostic(ErrorCode.
WRN_XMLParseError
, " ").WithLocation(10, 9)