Skip to content

Commit 7bba6e3

Browse files
authored
Merge pull request #374 from mairaw/patch-1
fix heading to be H1
2 parents 6eca149 + 86057d8 commit 7bba6e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎spec/overload-resolution.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### Overloaded Method Resolution
1+
# Overloaded Method Resolution
22

33
In practice, the rules for determining overload resolution are intended to find the overload that is "closest" to the actual arguments supplied. If there is a method whose parameter types match the argument types, then that method is obviously the closest. Barring that, one method is closer than another if all of its parameter types are narrower than (or the same as) the parameter types of the other method. If neither method's parameters are narrower than the other, then there is no way for to determine which method is closer to the arguments.
44

@@ -263,7 +263,7 @@ Given a method group, the most applicable method in the group for an argument li
263263

264264
76. If `M` is not an extension method and `N` is, eliminate `N` from the set.
265265

266-
77. If `M` and `N` are extension methods and `M` was found before `N` (Section [Extension Method Collection](overload-resolution.md#extension-method-collection)), eliminate `N` from the set. For example:
266+
77. If `M` and `N` are extension methods and `M` was found before `N` (Section [Extension Method Collection](expressions.md#extension-method-collection)), eliminate `N` from the set. For example:
267267

268268
```vb
269269
Imports System.Runtime.CompilerServices

0 commit comments

Comments
 (0)