137 references to WRN_BadXMLRefSyntax
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
352case ErrorCode.WRN_BadXMLRefSyntax: 1255or ErrorCode.WRN_BadXMLRefSyntax
Generated\ErrorFacts.Generated.cs (1)
80case ErrorCode.WRN_BadXMLRefSyntax:
Parser\DocumentationCommentParser.cs (1)
928result = this.AddError(result, ErrorCode.WRN_BadXMLRefSyntax, result.ToFullString());
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
Semantics\ExtensionTests2.cs (4)
4059Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "E.extension(.M()").WithArguments("E.extension(.M()").WithLocation(1, 16), 4630Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "E.extension(int).").WithArguments("E.extension(int).").WithLocation(1, 16), 5137Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "E.extension{int}(int).M").WithArguments("E.extension{int}(int).M").WithLocation(1, 16), 5186Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "E.extension(int).extension(string).M").WithArguments("E.extension(int).extension(string).M").WithLocation(1, 16),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\SemanticErrorTests.cs (2)
21913Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "MyClass1.operator").WithArguments("MyClass1.operator@"), 22055Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, @"""").WithArguments(""),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (80)
Compilation\CompilationAPITests.cs (1)
58Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "x").WithArguments("x...y").WithLocation(2, 16),
DocumentationComments\CrefTests.cs (44)
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(" {"), 6520Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "C{}").WithArguments("C{}").WithLocation(3, 16), 6553Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "C").WithArguments("C[]")); 6575Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "C").WithArguments("C?")); 6598Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "Cat").WithArguments("Cat:-)")); 6745Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "M(").WithArguments("M(readonly ref int)").WithLocation(8, 20), 6754Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "M(").WithArguments("M(readonly ref int)").WithLocation(8, 20), 6796Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "M(").WithArguments("M(readonly ref int)").WithLocation(8, 20),
DocumentationComments\DocumentationCommentCompilerTests.cs (3)
5505Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, includeElement).WithArguments("#"), 6556Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "C").WithArguments("C[]"), 6559Diagnostic(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)
548Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator checked " + op).WithArguments("operator checked " + op).WithLocation(3, 20), 669Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator checked -").WithArguments("operator checked -").WithLocation(3, 20), 720Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator checked " + op + "(C)").WithArguments("operator checked " + op + "(C)").WithLocation(3, 20), 825Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator checked (C)").WithArguments("operator checked (C)").WithLocation(3, 20), 874Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator (C)").WithArguments("operator (C)").WithLocation(3, 20), 1090Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator checked " + op).WithArguments("operator checked " + op).WithLocation(3, 20), 1140Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator checked " + op).WithArguments("operator checked " + op).WithLocation(3, 20), 1193Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator checked " + op + "(C)").WithArguments("operator checked " + op + "(C)").WithLocation(3, 20), 1242Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator checked " + op + "(C)").WithArguments("operator checked " + op + "(C)").WithLocation(3, 20), 1729Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator checked " + op).WithArguments("operator checked " + op).WithLocation(3, 20), 1836Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator checked").WithArguments("operator checked").WithLocation(3, 20), 1851Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator checked").WithArguments("operator checked").WithLocation(3, 20), 1869Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator checked").WithArguments("operator checked").WithLocation(3, 20), 1899Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator").WithArguments("operator").WithLocation(3, 20), 1961Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator checked " + op + "(C, C)").WithArguments("operator checked " + op + "(C, C)").WithLocation(3, 20), 2068Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator checked (C, C)").WithArguments("operator checked (C, C)").WithLocation(3, 20), 2086Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator checked (C, C)").WithArguments("operator checked (C, C)").WithLocation(3, 20), 2127Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator (C, C)").WithArguments("operator (C, C)").WithLocation(3, 20), 2313Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator checked " + opForXml).WithArguments("operator checked " + opForXml).WithLocation(3, 20), 2324Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator checked }}}").WithArguments("operator checked }}}").WithLocation(3, 20), 2407Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator checked " + opForXml + "(C, int)").WithArguments("operator checked " + opForXml + "(C, int)").WithLocation(3, 20), 2418Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator checked }}}(C, int)").WithArguments("operator checked }}}(C, int)").WithLocation(3, 20), 2887Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "explicit operator checked int").WithArguments("explicit operator checked int").WithLocation(3, 20), 3053Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "explicit operator checked int(C)").WithArguments("explicit operator checked int(C)").WithLocation(3, 20), 3287Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "implicit operator checked int").WithArguments("implicit operator checked int").WithLocation(3, 20), 3337Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "implicit operator checked int(C)").WithArguments("implicit operator checked int(C)").WithLocation(3, 20),
Symbols\UnsignedRightShiftTests.cs (2)
2714Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator >>>").WithArguments("operator >>>").WithLocation(3, 20), 2883Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator >>>(C, int)").WithArguments("operator >>>(C, int)").WithLocation(3, 20),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (47)
Parsing\CrefParsingTests.cs (44)
442Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator unchecked +").WithArguments("operator unchecked +").WithLocation(1, 16), 510Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator unchecked +(A)").WithArguments("operator unchecked +(A)").WithLocation(1, 16), 556Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator " + op).WithArguments("operator " + op).WithLocation(1, 16), 592Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator checked " + op).WithArguments("operator checked " + op).WithLocation(1, 16), 629Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator unchecked " + op).WithArguments("operator unchecked " + op).WithLocation(1, 16), 640Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator unchecked " + op).WithArguments("operator unchecked " + op).WithLocation(1, 16), 675Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator " + op + "(A)").WithArguments("operator " + op + "(A)").WithLocation(1, 16), 724Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator " + op + "(A, A)").WithArguments("operator " + op + "(A, A)").WithLocation(1, 16), 781Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator " + op + "()").WithArguments("operator " + op + "()").WithLocation(1, 16), 821Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator " + op.Substring(0, op.Length - 2)).WithArguments("operator " + op).WithLocation(1, 16) 840Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator &lt;").WithArguments("operator &lt; &lt; =").WithLocation(1, 16) 861Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator " + op.Substring(0, op.Length - 4)).WithArguments("operator " + op).WithLocation(1, 16) 880Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator &lt;").WithArguments("operator &lt; &lt;=").WithLocation(1, 16) 901Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator " + op.Substring(0, op.Length - 3)).WithArguments("operator " + op).WithLocation(1, 16) 920Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator }").WithArguments("operator } } }=").WithLocation(1, 16) 939Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator }").WithArguments("operator } }}=").WithLocation(1, 16) 1024Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "T.operator unchecked +").WithArguments("T.operator unchecked +").WithLocation(1, 16), 1132Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "T.operator " + op).WithArguments("T.operator " + op).WithLocation(1, 16), 1177Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "T.operator checked " + op).WithArguments("T.operator checked " + op).WithLocation(1, 16), 1223Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "T.operator unchecked " + op).WithArguments("T.operator unchecked " + op).WithLocation(1, 16), 1234Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "T.operator unchecked " + op).WithArguments("T.operator unchecked " + op).WithLocation(1, 16), 1278Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "T.operator " + op + "(A)").WithArguments("T.operator " + op + "(A)").WithLocation(1, 16), 1335Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "T.operator " + op + "(A, A)").WithArguments("T.operator " + op + "(A, A)").WithLocation(1, 16), 1400Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "T.operator " + op + "()").WithArguments("T.operator " + op + "()").WithLocation(1, 16), 1448Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "T.operator " + op.Substring(0, op.Length - 2)).WithArguments("T.operator " + op).WithLocation(1, 16) 1476Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "T.operator &lt;").WithArguments("T.operator &lt; &lt; =").WithLocation(1, 16) 1506Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "T.operator " + op.Substring(0, op.Length - 4)).WithArguments("T.operator " + op).WithLocation(1, 16) 1534Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "T.operator &lt;").WithArguments("T.operator &lt; &lt;=").WithLocation(1, 16) 1564Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "T.operator " + op.Substring(0, op.Length - 3)).WithArguments("T.operator " + op).WithLocation(1, 16) 1592Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "T.operator }").WithArguments("T.operator } } }=").WithLocation(1, 16) 1620Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "T.operator }").WithArguments("T.operator } }}=").WithLocation(1, 16) 1769Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator unchecked }}(A{A{T}})").WithArguments("operator unchecked }}(A{A{T}})").WithLocation(1, 16), 1904Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "implicit operator unchecked A").WithArguments("implicit operator unchecked A").WithLocation(1, 16), 1985Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "explicit operator unchecked A(B)").WithArguments("explicit operator unchecked A(B)").WithLocation(1, 16), 2073Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "T.implicit operator unchecked A").WithArguments("T.implicit operator unchecked A").WithLocation(1, 16), 2177Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "T.explicit operator unchecked A(B)").WithArguments("T.explicit operator unchecked A(B)").WithLocation(1, 16), 2471Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "A(").WithArguments("A(readonly ref B)").WithLocation(1, 16), 2498Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "A(").WithArguments("A(readonly B)").WithLocation(1, 16), 2525Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "A(in readonly B)").WithArguments("A(in readonly B)").WithLocation(1, 16), 2560Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "A(out readonly B)").WithArguments("A(out readonly B)").WithLocation(1, 16), 2595Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "A(ref readonly").WithArguments("A(ref readonly readonly B)").WithLocation(1, 16), 2634Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "A(").WithArguments("A(readonly ref B)").WithLocation(1, 16), 3799Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "E.extension{T}(int).").WithArguments("E.extension{T}(int).").WithLocation(1, 16), 3978Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "E.extension().extension().M").WithArguments("E.extension().extension().M").WithLocation(1, 16),
Parsing\ParserErrorMessageTests.cs (3)
6289Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "C{T}").WithArguments("C{T}"), 6308Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "Alias::Goo").WithArguments("Alias::Goo"), 6314Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "global::Goo").WithArguments("global::Goo"),