6 references to GetOptionsForSourcePath
Microsoft.CodeAnalysis (5)
CommandLine\AnalyzerConfigOptionsResult.cs (1)
13/// Holds results from <see cref="AnalyzerConfigSet.GetOptionsForSourcePath(string)"/>.
CommandLine\CommonCompiler.cs (4)
925sourceFileAnalyzerConfigOptions = Arguments.SourceFiles.SelectAsArray(f => analyzerConfigSet.GetOptionsForSourcePath(f.Path)); 1072analyzerConfigProvider = analyzerConfigProvider.WithGlobalOptions(new DictionaryAnalyzerConfigOptions(analyzerConfigSet.GetOptionsForSourcePath(string.Empty).AnalyzerOptions)); 1077additionalTextFiles.SelectAsArray(f => analyzerConfigSet.GetOptionsForSourcePath(f.Path)); 1175analyzerOptionsBuilder.Add(analyzerConfigSet!.GetOptionsForSourcePath(tree.FilePath));
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\ProjectState.AnalyzerConfigOptionsCache.cs (1)
27private readonly Func<string, AnalyzerConfigData> _computeFunction = path => new AnalyzerConfigData(configSet.GetOptionsForSourcePath(path), fallbackOptions);