3 writes to Option
Microsoft.CodeAnalysis.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionKey2.cs (3)
25Option = option; 37this.Option = option ?? throw new ArgumentNullException(nameof(option)); 44this.Option = option ?? throw new ArgumentNullException(nameof(option));
9 references to Option
Microsoft.CodeAnalysis.Workspaces (9)
Options\GlobalOptionService.cs (2)
93return optionKey.Option.DefaultValue; 163Debug.Assert(optionKey.Option is IOption2 { Definition.StorageMapping: null });
Options\OptionKey.cs (1)
14/// <inheritdoc cref="OptionKey2.Option"/>
Options\OptionSet.cs (1)
88value = (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)
24=> Options.TryGetEditorConfigOption(optionKey.Option, out value);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionKey2.cs (3)
50if (Option is null) 55var languageDisplay = Option.IsPerLanguage 59return languageDisplay + Option.ToString();