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

Member predicate EventAccessor::getDeclaration

Gets the declaration that this accessor belongs to. For example, both accessors on lines 3 and 4 belong to the property P on line 2 in

class C {
  public int P {
    get;
    set;
  }
}
Event getDeclaration()