1. 15 7月, 2020 3 次提交
  2. 14 7月, 2020 9 次提交
  3. 13 7月, 2020 2 次提交
  4. 12 7月, 2020 4 次提交
  5. 11 7月, 2020 19 次提交
  6. 10 7月, 2020 3 次提交
    • J
      Remove LanguageVersionExtensions.CSharp9 (#45756) · 51562f2e
      Julien Couvreur 提交于
      51562f2e
    • A
      Align addition of a synthesized EqualityContract in records with the latest design. (#45831) · 32da3079
      AlekseyTs 提交于
      Related to #45296.
      
      From specification:
      If the record is derived from `object`, the record type includes a synthesized readonly property equivalent to a property declared as follows:
      ```C#
      protected Type EqualityContract { get; };
      ```
      The property is `virtual` unless the record type is `sealed`.
      The property can be declared explicitly. It is an error if the explicit declaration does not match the expected signature or accessibility, or if the explicit declaration doesn't allow overiding it in a derived type and the record type is not `sealed`.
      
      If the record type is derived from a base record type `Base`, the record type includes a synthesized readonly property equivalent to a property declared as follows:
      ```C#
      protected override Type EqualityContract { get; };
      ```
      
      The property can be declared explicitly. It is an error if the explicit declaration does not match the expected signature or accessibility, or if the explicit declaration doesn't allow overiding it in a derived type and the record type is not `sealed`. It is an error if either synthesized, or explicitly declared property doesn't override a property with this signature in the record type `Base` (for example, if the property is missing in the `Base`, or sealed, or not virtual, etc.).
      The synthesized property returns `typeof(R)` where `R` is the record type.
      32da3079
    • R
      ffb3ca78