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