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

Member predicate Getter::trivialGetterField

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

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