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)
355
case ErrorCode.
WRN_XMLParseIncludeError
:
1262
or ErrorCode.
WRN_XMLParseIncludeError
Generated\ErrorFacts.Generated.cs (1)
85
case ErrorCode.
WRN_XMLParseIncludeError
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\SemanticErrorTests.cs (1)
22034
Diagnostic(ErrorCode.
WRN_XMLParseIncludeError
).WithArguments("Data at the root level is invalid."));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (8)
DocumentationComments\DocumentationCommentCompilerTests.cs (6)
5044
Diagnostic(ErrorCode.
WRN_XMLParseIncludeError
).WithArguments("Unexpected end of file has occurred. The following elements are not closed: OpenWithoutClose."));
5078
Diagnostic(ErrorCode.
WRN_XMLParseIncludeError
).WithArguments("Unexpected end of file has occurred. The following elements are not closed: OpenWithoutClose."));
6034
Diagnostic(ErrorCode.
WRN_XMLParseIncludeError
).WithArguments("'name' is a duplicate attribute name."));
7023
Diagnostic(ErrorCode.
WRN_XMLParseIncludeError
).WithArguments("Data at the root level is invalid."));
8457
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));
8663
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."));