Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
BillWagner committed Apr 3, 2022
1 parent 3e14536 commit dc4156c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion standard/expressions.md
Original file line number Diff line number Diff line change
Expand Up @@ -969,10 +969,11 @@ For a function member that includes a parameter array, if the function member is
- for a `ref` or `out` parameter, the type of the argument expression is identical to the type of the corresponding parameter.
In the case of a method group
- If the group contains both instance and static members, instance members invoked without an instance receiver or context are not applicable.
- If the group contains both instance and static members, static members invoked with an instance receiver are not applicable.
- When there is no receiver, static members in a static context are applicable; otherwise, both static and instance members are applicable.
- When the receiver is ambiguously an instance or type due to a color-color situation, both are applicable.
- When the receiver is ambiguously an instance or type due to a color-color situation, both are applicable.
- A static context, where an implicit `this` instance receiver cannot be used, includes the body of members where no `this` is defined, such as static members, as well as places where this cannot be used, such as field initializers and constructor initializers.
- If the group contains generic methods whose type arguments do not satisfy their constraints, these members are not applicable.
- For a method group conversion, candidate methods whose return type doesn't match up with the delegate's return type are not applicable.
Expand Down

0 comments on commit dc4156c

Please sign in to comment.