3 types derived from StructuredAnalyzerConfigOptions
Microsoft.CodeAnalysis.EditorFeatures (1)
Microsoft.CodeAnalysis.Workspaces (2)
150 references to StructuredAnalyzerConfigOptions
Microsoft.CodeAnalysis.CSharp.EditorFeatures (2)
Microsoft.CodeAnalysis.CSharp.Features (2)
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Microsoft.CodeAnalysis.EditorFeatures (13)
Options\TextBufferOptionProviders.cs (8)
43public static SyntaxFormattingOptions GetSyntaxFormattingOptions(this ITextBuffer textBuffer, EditorOptionsService optionsProvider, StructuredAnalyzerConfigOptions fallbackOptions, LanguageServices languageServices, bool explicitFormat)
46private static SyntaxFormattingOptions GetSyntaxFormattingOptionsImpl(ITextBuffer textBuffer, IEditorOptions editorOptions, StructuredAnalyzerConfigOptions fallbackOptions, IIndentationManagerService indentationManager, LanguageServices languageServices, bool explicitFormat)
48var configOptions = editorOptions.ToAnalyzerConfigOptions(fallbackOptions);
55public static IndentationOptions GetIndentationOptions(this ITextBuffer textBuffer, EditorOptionsService optionsProvider, StructuredAnalyzerConfigOptions fallbackOptions, LanguageServices languageServices, bool explicitFormat)
68public static AddImportPlacementOptions GetAddImportPlacementOptions(this ITextBuffer textBuffer, EditorOptionsService optionsProvider, StructuredAnalyzerConfigOptions fallbackOptions, LanguageServices languageServices, bool allowInHiddenRegions)
71var configOptions = editorOptions.ToAnalyzerConfigOptions(fallbackOptions);
75public static CodeCleanupOptions GetCodeCleanupOptions(this ITextBuffer textBuffer, EditorOptionsService optionsProvider, StructuredAnalyzerConfigOptions fallbackOptions, LanguageServices languageServices, bool explicitFormat, bool allowImportsInHiddenRegions)
78var configOptions = editorOptions.ToAnalyzerConfigOptions(fallbackOptions);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp (6)
Microsoft.CodeAnalysis.Features (9)
Microsoft.CodeAnalysis.LanguageServer.Protocol (5)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (2)
Microsoft.CodeAnalysis.Remote.ServiceHub (2)
Microsoft.CodeAnalysis.Remote.Workspaces (1)
Microsoft.CodeAnalysis.Workspaces (82)
Serialization\SerializerService.cs (9)
152Write(writer, (ImmutableDictionary<string, StructuredAnalyzerConfigOptions>)value);
163private static void Write(ObjectWriter writer, ImmutableDictionary<string, StructuredAnalyzerConfigOptions> optionsByLanguage)
167var csOptions = ImmutableDictionary.GetValueOrDefault(optionsByLanguage, LanguageNames.CSharp);
168var vbOptions = ImmutableDictionary.GetValueOrDefault(optionsByLanguage, LanguageNames.VisualBasic);
175void Serialize(string language, StructuredAnalyzerConfigOptions? options)
197private static ImmutableDictionary<string, StructuredAnalyzerConfigOptions> ReadFallbackAnalyzerOptions(ObjectReader reader)
202return ImmutableDictionary<string, StructuredAnalyzerConfigOptions>.Empty;
208var optionsByLanguage = ImmutableDictionary.CreateBuilder<string, StructuredAnalyzerConfigOptions>();
228optionsByLanguage.Add(language, StructuredAnalyzerConfigOptions.Create(new DictionaryAnalyzerConfigOptions(options.ToImmutable())));
Workspace\Solution\SolutionState.cs (10)
50public ImmutableDictionary<string, StructuredAnalyzerConfigOptions> FallbackAnalyzerOptions { get; } = ImmutableDictionary<string, StructuredAnalyzerConfigOptions>.Empty;
74ImmutableDictionary<string, StructuredAnalyzerConfigOptions> fallbackAnalyzerOptions,
111ImmutableDictionary<string, StructuredAnalyzerConfigOptions> fallbackAnalyzerOptions)
182ImmutableDictionary<string, StructuredAnalyzerConfigOptions>? fallbackAnalyzerOptions = null,
393if (!FallbackAnalyzerOptions.TryGetValue(language, out var fallbackAnalyzerOptions))
395fallbackAnalyzerOptions = StructuredAnalyzerConfigOptions.Empty;
929public SolutionState WithFallbackAnalyzerOptions(ImmutableDictionary<string, StructuredAnalyzerConfigOptions> options)
942if (!options.TryGetValue(projectState.Language, out var languageOptions))
944languageOptions = StructuredAnalyzerConfigOptions.Empty;
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (5)
Microsoft.CodeAnalysis.Workspaces.UnitTests (12)
Microsoft.VisualStudio.LanguageServices (1)
Roslyn.VisualStudio.Next.UnitTests (4)