18 references to SymbolVisibilityGroup
Roslyn.Diagnostics.Analyzers (18)
src\RoslynAnalyzers\Utilities\Compiler\Options\AnalyzerOptionsExtensions.cs (12)
45
public static
SymbolVisibilityGroup
GetSymbolVisibilityGroupOption(
50
SymbolVisibilityGroup
defaultValue)
55
private static
SymbolVisibilityGroup
GetSymbolVisibilityGroupOption(
60
SymbolVisibilityGroup
defaultValue)
570
/// 1. If user has explicitly configured candidate <see cref="
SymbolVisibilityGroup
"/> in editor config options and
580
SymbolVisibilityGroup
defaultRequiredVisibility =
SymbolVisibilityGroup
.Public)
585
/// 1. If user has explicitly configured candidate <see cref="
SymbolVisibilityGroup
"/> in editor config options and
596
SymbolVisibilityGroup
defaultRequiredVisibility =
SymbolVisibilityGroup
.Public)
598
var
allowedVisibilities = options.GetSymbolVisibilityGroupOption(rule, containingContextSymbol, compilation, defaultRequiredVisibility);
599
return allowedVisibilities ==
SymbolVisibilityGroup
.All ||
src\RoslynAnalyzers\Utilities\Compiler\Options\EditorConfigOptionNames.cs (1)
18
/// Allowed option values: One or more fields of flags enum <see cref="
SymbolVisibilityGroup
"/> as a comma separated list.
src\RoslynAnalyzers\Utilities\Compiler\Options\ICategorizedAnalyzerConfigOptions.cs (1)
45
/// <para>See <see cref="
SymbolVisibilityGroup
"/> for allowed symbol visibility value combinations.</para>
src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolVisibilityGroup.cs (4)
31
public static bool Contains(this
SymbolVisibilityGroup
symbolVisibilityGroup, SymbolVisibility symbolVisibility)
35
SymbolVisibility.Public => (symbolVisibilityGroup &
SymbolVisibilityGroup
.Public) != 0,
37
SymbolVisibility.Internal => (symbolVisibilityGroup &
SymbolVisibilityGroup
.Internal) != 0,
39
SymbolVisibility.Private => (symbolVisibilityGroup &
SymbolVisibilityGroup
.Private) != 0,