13 references to WRN_XMLParseIncludeError
Microsoft.CodeAnalysis.CSharp (4)
Compiler\DocumentationCommentCompiler.IncludeElementExpander.cs (1)
405
includeDiagnostics.Add(ErrorCode.
WRN_XMLParseIncludeError
, errorLocation, GetDescription(e)); //NOTE: location is in included file.
Errors\ErrorFacts.cs (2)
342
case ErrorCode.
WRN_XMLParseIncludeError
:
1200
case ErrorCode.
WRN_XMLParseIncludeError
:
Generated\ErrorFacts.Generated.cs (1)
85
case ErrorCode.
WRN_XMLParseIncludeError
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\SemanticErrorTests.cs (1)
21810
Diagnostic(ErrorCode.
WRN_XMLParseIncludeError
).WithArguments("Data at the root level is invalid."));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (8)
DocumentationComments\DocumentationCommentCompilerTests.cs (6)
3299
Diagnostic(ErrorCode.
WRN_XMLParseIncludeError
).WithArguments("Unexpected end of file has occurred. The following elements are not closed: OpenWithoutClose."));
3333
Diagnostic(ErrorCode.
WRN_XMLParseIncludeError
).WithArguments("Unexpected end of file has occurred. The following elements are not closed: OpenWithoutClose."));
4289
Diagnostic(ErrorCode.
WRN_XMLParseIncludeError
).WithArguments("'name' is a duplicate attribute name."));
5278
Diagnostic(ErrorCode.
WRN_XMLParseIncludeError
).WithArguments("Data at the root level is invalid."));
6712
Diagnostic(ErrorCode.
WRN_XMLParseIncludeError
).WithArguments("For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to Parse and pass the settings into XmlReader.Create method.").WithLocation(1, 1));
6918
Diagnostic(ErrorCode.
WRN_XMLParseIncludeError
).WithArguments("'attrib' is a duplicate attribute name.").WithLocation(1, 1));
DocumentationComments\DocumentationModeTests.cs (2)
79
Diagnostic(ErrorCode.
WRN_XMLParseIncludeError
).WithArguments("Unexpected end of file has occurred. The following elements are not closed: unclosed."),
81
Diagnostic(ErrorCode.
WRN_XMLParseIncludeError
).WithArguments("Unexpected end of file has occurred. The following elements are not closed: unclosed."));