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

Member predicate Setter::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;
  }
}
DeclarationWithGetSetAccessors getDeclaration()