CodeQL library for C#
codeql/csharp-all 0.10.1 (changelog, source)

Member predicate Accessor::getAModifier

Gets a modifier of this accessor, if any.

This is either an explicit access modifier of this accessor, or a modifier inherited from the declaration. For example, the get accessor on line 3 has the modifiers public and virtual, and the set accessor on line 4 has the modifiers private and virtual in

class C {
  public virtual int P {
    private set;
Modifier getAModifier()