97 references to WRN_BadXMLRefSyntax
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
339
case ErrorCode.
WRN_BadXMLRefSyntax
:
1193
case ErrorCode.
WRN_BadXMLRefSyntax
:
Generated\ErrorFacts.Generated.cs (1)
80
case ErrorCode.
WRN_BadXMLRefSyntax
:
Parser\DocumentationCommentParser.cs (1)
933
result = this.AddError(result, ErrorCode.
WRN_BadXMLRefSyntax
, result.ToFullString());
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\SemanticErrorTests.cs (2)
21689
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "MyClass1.operator").WithArguments("MyClass1.operator@"),
21831
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, @"""").WithArguments(""),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (80)
Compilation\CompilationAPITests.cs (1)
60
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "x").WithArguments("x...y").WithLocation(2, 16),
DocumentationComments\CrefTests.cs (42)
35
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, @"""").WithArguments(""),
53
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, @"""").WithArguments(""),
71
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "#").WithArguments("#"),
92
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, " ").WithArguments(" `"),
113
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "<").WithArguments(""),
134
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "").WithArguments(""),
162
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "M(T,").WithArguments("M(T, ///"),
187
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "M{").WithArguments("M{"),
281
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, ":").WithArguments(":"),
287
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, ":").WithArguments("::"),
293
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "&").WithArguments("::Gibberish"),
323
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, ".").WithArguments(".ctor"),
352
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, ".").WithArguments(".cctor"),
381
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "~").WithArguments("~Program"),
3422
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "2").WithArguments("2"),
3432
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "3").WithArguments("3A"),
3442
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "@").WithArguments("@4"),
3452
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "@").WithArguments("@5"),
3478
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "G<").WithArguments("G<3>"),
3490
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "G{T}.M<").WithArguments("G{T}.M<3>"),
3539
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "G{int}").WithArguments("G{int}"),
3545
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "G{A.B}").WithArguments("G{A.B}"),
3551
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "G{G{T}}").WithArguments("G{G{T}}}"),
3557
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "G{T}.M{int}").WithArguments("G{T}.M{int}"),
3563
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "G{T}.M{A.B}").WithArguments("G{T}.M{A.B}"),
3569
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "G{T}.M{G{T}}").WithArguments("G{T}.M{G{T}}"),
4680
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "A{A{T}}").WithArguments("A{A{T}}"),
4686
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "A{T}.B{A{T}}").WithArguments("A{T}.B{A{T}}"),
4692
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "A{T}.B{U}.M{A{T}}").WithArguments("A{T}.B{U}.M{A{T}}"),
4736
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "A{int}").WithArguments("A{int}"),
4742
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "A{T}.B{int}").WithArguments("A{T}.B{int}"),
4748
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "A{T}.B{U}.M{int}").WithArguments("A{T}.B{U}.M{int}"),
5272
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "Console.WriteLine(,,)").WithArguments("Console.WriteLine(,,)"),
5304
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "operator").WithArguments("operator ="),
5330
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "operator").WithArguments("operator q"),
5356
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "@").WithArguments("@"),
5645
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, " {").WithArguments(" {"),
5824
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "operator").WithArguments("operator }}="),
6523
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "C{}").WithArguments("C{}").WithLocation(3, 16),
6556
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "C").WithArguments("C[]"));
6578
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "C").WithArguments("C?"));
6601
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "Cat").WithArguments("Cat:-)"));
DocumentationComments\DocumentationCommentCompilerTests.cs (3)
3760
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, includeElement).WithArguments("#"),
4811
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "C").WithArguments("C[]"),
4814
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "C").WithArguments("C*"),
DocumentationComments\DocumentationModeTests.cs (4)
115
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "#").WithArguments("#"),
125
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "#").WithArguments("#"),
165
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, includeElement).WithArguments("#"),
175
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, includeElement).WithArguments("#"),
Symbols\CheckedUserDefinedOperatorsTests.cs (26)
523
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "operator checked " + op).WithArguments("operator checked " + op).WithLocation(3, 20),
644
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "operator checked -").WithArguments("operator checked -").WithLocation(3, 20),
695
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "operator checked " + op + "(C)").WithArguments("operator checked " + op + "(C)").WithLocation(3, 20),
800
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "operator checked (C)").WithArguments("operator checked (C)").WithLocation(3, 20),
849
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "operator (C)").WithArguments("operator (C)").WithLocation(3, 20),
1065
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "operator checked " + op).WithArguments("operator checked " + op).WithLocation(3, 20),
1115
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "operator checked " + op).WithArguments("operator checked " + op).WithLocation(3, 20),
1168
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "operator checked " + op + "(C)").WithArguments("operator checked " + op + "(C)").WithLocation(3, 20),
1217
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "operator checked " + op + "(C)").WithArguments("operator checked " + op + "(C)").WithLocation(3, 20),
1704
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "operator checked " + op).WithArguments("operator checked " + op).WithLocation(3, 20),
1811
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "operator checked").WithArguments("operator checked").WithLocation(3, 20),
1826
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "operator checked").WithArguments("operator checked").WithLocation(3, 20),
1844
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "operator checked").WithArguments("operator checked").WithLocation(3, 20),
1874
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "operator").WithArguments("operator").WithLocation(3, 20),
1936
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "operator checked " + op + "(C, C)").WithArguments("operator checked " + op + "(C, C)").WithLocation(3, 20),
2043
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "operator checked (C, C)").WithArguments("operator checked (C, C)").WithLocation(3, 20),
2061
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "operator checked (C, C)").WithArguments("operator checked (C, C)").WithLocation(3, 20),
2102
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "operator (C, C)").WithArguments("operator (C, C)").WithLocation(3, 20),
2288
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "operator checked " + opForXml).WithArguments("operator checked " + opForXml).WithLocation(3, 20),
2299
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "operator checked }}}").WithArguments("operator checked }}}").WithLocation(3, 20),
2382
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "operator checked " + opForXml + "(C, int)").WithArguments("operator checked " + opForXml + "(C, int)").WithLocation(3, 20),
2393
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "operator checked }}}(C, int)").WithArguments("operator checked }}}(C, int)").WithLocation(3, 20),
2862
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "explicit operator checked int").WithArguments("explicit operator checked int").WithLocation(3, 20),
3028
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "explicit operator checked int(C)").WithArguments("explicit operator checked int(C)").WithLocation(3, 20),
3262
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "implicit operator checked int").WithArguments("implicit operator checked int").WithLocation(3, 20),
3312
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "implicit operator checked int(C)").WithArguments("implicit operator checked int(C)").WithLocation(3, 20),
Symbols\UnsignedRightShiftTests.cs (4)
2714
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "operator >>>").WithArguments("operator >>>").WithLocation(3, 20),
2815
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "operator").WithArguments("operator >>>=").WithLocation(3, 20),
2886
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "operator >>>(C, int)").WithArguments("operator >>>(C, int)").WithLocation(3, 20),
2987
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "operator >>>=(C, int)").WithArguments("operator >>>=(C, int)").WithLocation(3, 20),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (11)
Parsing\CrefParsingTests.cs (8)
441
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "operator unchecked +").WithArguments("operator unchecked +").WithLocation(1, 16),
509
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "operator unchecked +(A)").WithArguments("operator unchecked +(A)").WithLocation(1, 16),
585
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "T.operator unchecked +").WithArguments("T.operator unchecked +").WithLocation(1, 16),
770
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "operator unchecked }}(A{A{T}})").WithArguments("operator unchecked }}(A{A{T}})").WithLocation(1, 16),
905
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "implicit operator unchecked A").WithArguments("implicit operator unchecked A").WithLocation(1, 16),
986
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "explicit operator unchecked A(B)").WithArguments("explicit operator unchecked A(B)").WithLocation(1, 16),
1074
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "T.implicit operator unchecked A").WithArguments("T.implicit operator unchecked A").WithLocation(1, 16),
1178
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "T.explicit operator unchecked A(B)").WithArguments("T.explicit operator unchecked A(B)").WithLocation(1, 16),
Parsing\ParserErrorMessageTests.cs (3)
6450
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "C{T}").WithArguments("C{T}"),
6469
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "Alias::Goo").WithArguments("Alias::Goo"),
6475
Diagnostic(ErrorCode.
WRN_BadXMLRefSyntax
, "global::Goo").WithArguments("global::Goo"),