3 writes to Option
Microsoft.CodeAnalysis.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionKey2.cs (3)
24Option = option; 36this.Option = option ?? throw new ArgumentNullException(nameof(option)); 43this.Option = option ?? throw new ArgumentNullException(nameof(option));
9 references to Option
Microsoft.CodeAnalysis.Workspaces (9)
Options\GlobalOptionService.cs (2)
52return optionKey.Option.DefaultValue; 121Debug.Assert(optionKey.Option is IOption2 { Definition.StorageMapping: null });
Options\OptionKey.cs (1)
13/// <inheritdoc cref="OptionKey2.Option"/>
Options\OptionSet.cs (1)
87value = (T)GetInternalOptionValue(new OptionKey(optionKey.Option, optionKey.Language))!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Diagnostics\StructuredAnalyzerConfigOptions.cs (1)
56=> this.TryGetEditorConfigOption(optionKey.Option, out value);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\IOptionReader.cs (1)
20=> Options.TryGetEditorConfigOption(optionKey.Option, out value);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionKey2.cs (3)
49if (Option is null) 54var languageDisplay = Option.IsPerLanguage 58return languageDisplay + Option.ToString();