CodeQL library for C#
codeql/csharp-all 0.9.2-dev (changelog, source)
Search

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 {
    get;
    private set;
  }
}
Modifier getAModifier()