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