27 references to WRN_FailedInclude
Microsoft.CodeAnalysis.CSharp (8)
Compiler\DocumentationCommentCompiler.IncludeElementExpander.cs (5)
283
_diagnostics.Add(ErrorCode.
WRN_FailedInclude
, location, filePathValue, xpathValue, new LocalizableErrorArgument(MessageID.IDS_OperationCausedStackOverflow));
315
includeDiagnostics.Add(ErrorCode.
WRN_FailedInclude
, location, filePathValue, xpathValue, new CodeAnalysisResourcesLocalizableErrorArgument(nameof(CodeAnalysisResources.XmlReferencesNotSupported)));
325
includeDiagnostics.Add(ErrorCode.
WRN_FailedInclude
, location, filePathValue, xpathValue, new CodeAnalysisResourcesLocalizableErrorArgument(nameof(CodeAnalysisResources.FileNotFound)));
346
includeDiagnostics.Add(ErrorCode.
WRN_FailedInclude
, location, filePathValue, xpathValue, e.Message);
358
includeDiagnostics.Add(ErrorCode.
WRN_FailedInclude
, location, filePathValue, xpathValue, errorMessage);
Errors\ErrorFacts.cs (2)
353
case ErrorCode.
WRN_FailedInclude
:
1259
or ErrorCode.
WRN_FailedInclude
Generated\ErrorFacts.Generated.cs (1)
82
case ErrorCode.
WRN_FailedInclude
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\SemanticErrorTests.cs (2)
21960
Diagnostic(ErrorCode.
WRN_FailedInclude
, @"<include file='CS1589.doc' path='MyDocs/MyMembers[@name=""test""]/' />").
21979
Diagnostic(ErrorCode.
WRN_FailedInclude
, @"<include file='CS1589.doc' path='MyDocs/MyMembers[@name=""test""]/' />").
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (17)
DocumentationComments\DocumentationCommentCompilerTests.cs (17)
4834
Diagnostic(ErrorCode.
WRN_FailedInclude
, "<include file='file' path='path'/>").WithArguments("file", "path", "File not found."));
4869
Diagnostic(ErrorCode.
WRN_FailedInclude
).WithArguments("file", "path", "File not found."));
4907
Diagnostic(ErrorCode.
WRN_FailedInclude
, includeElement).WithArguments(xmlFilePath, "path", string.Format("The process cannot access the file '{0}' because it is being used by another process.", xmlFilePath)));
4943
Diagnostic(ErrorCode.
WRN_FailedInclude
).WithArguments(xmlFilePath1, "path", string.Format("The process cannot access the file '{0}' because it is being used by another process.", xmlFilePath1)));
4978
Diagnostic(ErrorCode.
WRN_FailedInclude
, includeElement).WithArguments(xmlFilePath, ":", "':' has an invalid token."));
5011
Diagnostic(ErrorCode.
WRN_FailedInclude
).WithArguments(xmlFilePath1, ":", "':' has an invalid token."));
5110
Diagnostic(ErrorCode.
WRN_FailedInclude
).WithArguments(xmlFilePath, "//include", "Operation caused a stack overflow."));
5144
Diagnostic(ErrorCode.
WRN_FailedInclude
).WithArguments(xmlFilePath, "//parent", "Operation caused a stack overflow."));
5181
Diagnostic(ErrorCode.
WRN_FailedInclude
).WithArguments(xmlFilePath, "//include", "Operation caused a stack overflow."),
5183
Diagnostic(ErrorCode.
WRN_FailedInclude
).WithArguments(xmlFilePath, "//include", "Operation caused a stack overflow."),
5185
Diagnostic(ErrorCode.
WRN_FailedInclude
).WithArguments(xmlFilePath, "//include", "Operation caused a stack overflow."),
5187
Diagnostic(ErrorCode.
WRN_FailedInclude
).WithArguments(xmlFilePath, "//include", "Operation caused a stack overflow."),
5189
Diagnostic(ErrorCode.
WRN_FailedInclude
).WithArguments(xmlFilePath, "//include", "Operation caused a stack overflow."),
5191
Diagnostic(ErrorCode.
WRN_FailedInclude
).WithArguments(xmlFilePath, "//include", "Operation caused a stack overflow."));
5326
Diagnostic(ErrorCode.
WRN_FailedInclude
, string.Format(@"<include file=""{0}"" path=""/""/>", xmlFilePath)).WithArguments(xmlFilePath, "/", "The XPath expression evaluated to unexpected type System.Xml.Linq.XDocument."),
5329
Diagnostic(ErrorCode.
WRN_FailedInclude
, string.Format(@"<include file=""{0}"" path="".""/>", xmlFilePath)).WithArguments(xmlFilePath, ".", "The XPath expression evaluated to unexpected type System.Xml.Linq.XDocument."));
8388
Diagnostic(ErrorCode.
WRN_FailedInclude
,