コード例 #1
0
 public static SymbolModifiers GetRequiredModifiersOption(
     this AnalyzerOptions options,
     DiagnosticDescriptor rule,
     SyntaxTree tree,
     Compilation compilation,
     SymbolModifiers defaultValue,
     CancellationToken cancellationToken)
 => options.GetFlagsEnumOptionValue(EditorConfigOptionNames.RequiredModifiers, rule, tree, compilation, defaultValue, cancellationToken);
コード例 #2
0
 public static SymbolVisibilityGroup GetSymbolVisibilityGroupOption(
     this AnalyzerOptions options,
     DiagnosticDescriptor rule,
     SyntaxTree tree,
     Compilation compilation,
     SymbolVisibilityGroup defaultValue,
     CancellationToken cancellationToken)
 => options.GetFlagsEnumOptionValue(EditorConfigOptionNames.ApiSurface, rule, tree, compilation, defaultValue, cancellationToken);