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

Member predicate Setter::trivialSetterField

Gets the field used in the trival implementation of this setter, if any. For example, the field p in

public class C {
  int p;
  public int P {
    get { return p; }
    set { p = value; }
  }
}
Field trivialSetterField()