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