10 references to Option
Microsoft.CodeAnalysis.Workspaces (10)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.ComparisonOptions.cs (10)
21
private readonly
Option
_flags =
22
BoolToOption(ignoreCase,
Option
.IgnoreCase) |
23
BoolToOption(ignoreAssemblyKeys,
Option
.IgnoreAssemblyKeys);
25
public bool IgnoreCase => (_flags &
Option
.IgnoreCase) ==
Option
.IgnoreCase;
27
public bool IgnoreAssemblyKey => (_flags &
Option
.IgnoreAssemblyKeys) ==
Option
.IgnoreAssemblyKeys;
31
private static
Option
BoolToOption(bool value,
Option
option)
32
=> value ? option :
Option
.None;