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)
340
case ErrorCode.
WRN_FailedInclude
:
1197
case ErrorCode.
WRN_FailedInclude
:
Generated\ErrorFacts.Generated.cs (1)
82
case ErrorCode.
WRN_FailedInclude
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\SemanticErrorTests.cs (2)
21736
Diagnostic(ErrorCode.
WRN_FailedInclude
, @"<include file='CS1589.doc' path='MyDocs/MyMembers[@name=""test""]/' />").
21755
Diagnostic(ErrorCode.
WRN_FailedInclude
, @"<include file='CS1589.doc' path='MyDocs/MyMembers[@name=""test""]/' />").
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (17)
DocumentationComments\DocumentationCommentCompilerTests.cs (17)
3089
Diagnostic(ErrorCode.
WRN_FailedInclude
, "<include file='file' path='path'/>").WithArguments("file", "path", "File not found."));
3124
Diagnostic(ErrorCode.
WRN_FailedInclude
).WithArguments("file", "path", "File not found."));
3162
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)));
3198
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)));
3233
Diagnostic(ErrorCode.
WRN_FailedInclude
, includeElement).WithArguments(xmlFilePath, ":", "':' has an invalid token."));
3266
Diagnostic(ErrorCode.
WRN_FailedInclude
).WithArguments(xmlFilePath1, ":", "':' has an invalid token."));
3365
Diagnostic(ErrorCode.
WRN_FailedInclude
).WithArguments(xmlFilePath, "//include", "Operation caused a stack overflow."));
3399
Diagnostic(ErrorCode.
WRN_FailedInclude
).WithArguments(xmlFilePath, "//parent", "Operation caused a stack overflow."));
3436
Diagnostic(ErrorCode.
WRN_FailedInclude
).WithArguments(xmlFilePath, "//include", "Operation caused a stack overflow."),
3438
Diagnostic(ErrorCode.
WRN_FailedInclude
).WithArguments(xmlFilePath, "//include", "Operation caused a stack overflow."),
3440
Diagnostic(ErrorCode.
WRN_FailedInclude
).WithArguments(xmlFilePath, "//include", "Operation caused a stack overflow."),
3442
Diagnostic(ErrorCode.
WRN_FailedInclude
).WithArguments(xmlFilePath, "//include", "Operation caused a stack overflow."),
3444
Diagnostic(ErrorCode.
WRN_FailedInclude
).WithArguments(xmlFilePath, "//include", "Operation caused a stack overflow."),
3446
Diagnostic(ErrorCode.
WRN_FailedInclude
).WithArguments(xmlFilePath, "//include", "Operation caused a stack overflow."));
3581
Diagnostic(ErrorCode.
WRN_FailedInclude
, string.Format(@"<include file=""{0}"" path=""/""/>", xmlFilePath)).WithArguments(xmlFilePath, "/", "The XPath expression evaluated to unexpected type System.Xml.Linq.XDocument."),
3584
Diagnostic(ErrorCode.
WRN_FailedInclude
, string.Format(@"<include file=""{0}"" path="".""/>", xmlFilePath)).WithArguments(xmlFilePath, ".", "The XPath expression evaluated to unexpected type System.Xml.Linq.XDocument."));
6643
Diagnostic(ErrorCode.
WRN_FailedInclude
,