14 references to Create
Microsoft.CodeAnalysis (14)
CommandLine\CommandLineParser.cs (10)
434
errors.Add(Diagnostic.
Create
(_messageProvider, _messageProvider.FTL_InvalidInputFileName, invalidPath));
452
errors.Add(Diagnostic.
Create
(_messageProvider, _messageProvider.FTL_InvalidInputFileName, invalidPath));
477
errors.Add(Diagnostic.
Create
(_messageProvider, _messageProvider.FTL_InvalidInputFileName, invalidPath));
559
diagnostics.Add(Diagnostic.
Create
(_messageProvider, _messageProvider.FTL_InvalidInputFileName, path));
569
diagnostics.Add(Diagnostic.
Create
(_messageProvider, _messageProvider.FTL_InvalidInputFileName, path));
641
diagnostics.Add(Diagnostic.
Create
(_messageProvider, _messageProvider.ERR_OpenResponseFile, fullPath));
1094
errors.Add(Diagnostic.
Create
(_messageProvider, _messageProvider.FTL_InvalidInputFileName, path));
1144
errors.Add(Diagnostic.
Create
(MessageProvider, (int)MessageProvider.FTL_InvalidInputFileName, path));
1280
errors.Add(Diagnostic.
Create
(MessageProvider, (int)MessageProvider.FTL_InvalidInputFileName, path));
1300
errors.Add(Diagnostic.
Create
(MessageProvider, (int)MessageProvider.ERR_FileNotFound, path));
CommandLine\CommonCompiler.cs (1)
325
diagnostics.Add(Diagnostic.
Create
(
RuleSet\RuleSet.cs (3)
317
diagnosticsOpt.Add(Diagnostic.
Create
(messageProviderOpt, messageProviderOpt.ERR_CantReadRulesetFile, resolvedPath, e.Message));
326
diagnosticsOpt.Add(Diagnostic.
Create
(messageProviderOpt, messageProviderOpt.ERR_CantReadRulesetFile, resolvedPath, new CodeAnalysisResourcesLocalizableErrorArgument(nameof(CodeAnalysisResources.FileNotFound))));
333
diagnosticsOpt.Add(Diagnostic.
Create
(messageProviderOpt, messageProviderOpt.ERR_CantReadRulesetFile, resolvedPath, e.Message));