CodeQL library for C#
codeql/csharp-all 0.8.12 (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()