23 references to SymbolModifiers
Roslyn.Diagnostics.Analyzers (23)
src\RoslynAnalyzers\Utilities\Compiler\Options\AnalyzerOptionsExtensions.cs (8)
63private static SymbolModifiers GetRequiredModifiersOption( 68SymbolModifiers defaultValue) 73private static SymbolModifiers GetRequiredModifiersOption( 78SymbolModifiers defaultValue) 605/// 1. If user has explicitly configured candidate <see cref="SymbolModifiers"/> in editor config options and 614SymbolModifiers defaultRequiredModifiers = SymbolModifiers.None) 616var requiredModifiers = options.GetRequiredModifiersOption(rule, symbol, compilation, defaultRequiredModifiers);
src\RoslynAnalyzers\Utilities\Compiler\Options\EditorConfigOptionNames.cs (1)
24/// Allowed option values: One or more fields of flags enum <see cref="SymbolModifiers"/> as a comma separated list.
src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolModifiers.cs (14)
35public static bool Contains(this SymbolModifiers modifiers, SymbolModifiers modifiersToCheck) 38public static SymbolModifiers GetSymbolModifiers(this ISymbol symbol) 40var modifiers = SymbolModifiers.None; 43modifiers |= SymbolModifiers.Static; 48modifiers |= SymbolModifiers.Const; 53modifiers |= SymbolModifiers.ReadOnly; 58modifiers |= SymbolModifiers.Abstract; 63modifiers |= SymbolModifiers.Virtual; 68modifiers |= SymbolModifiers.Override; 73modifiers |= SymbolModifiers.Sealed; 78modifiers |= SymbolModifiers.Extern; 84modifiers |= SymbolModifiers.Async;