Skip to content

Commit

Permalink
fix method name (dotnet#6049)
Browse files Browse the repository at this point in the history
* C18280: Incorrect link structure (dotnet#5709)

* fix method name
  • Loading branch information
imba-tjd authored and BillWagner committed Jun 20, 2018
1 parent 27eb231 commit 7814c7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/core/tools/cli-msbuild-architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@ This command is publishing an application into a `pub` folder using the "Release

The notable exception to this rule are `new` and `run` commands, as they have not been implemented as MSBuild targets.

<a name="dotnet-restore-note"></a>
[!INCLUDE[DotNet Restore Note](~/includes/dotnet-restore-note.md)]
<a name="dotnet-restore-note"></a>
[!INCLUDE[DotNet Restore Note](~/includes/dotnet-restore-note.md)]
2 changes: 1 addition & 1 deletion docs/csharp/tour-of-csharp/classes-and-objects.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ The following program uses the `Expression` classes to evaluate the expression `

### Method overloading

Method *overloading* permits multiple methods in the same class to have the same name as long as they have unique signatures. When compiling an invocation of an overloaded method, the compiler uses *overload resolution* to determine the specific method to invoke. Overload resolution finds the one method that best matches the arguments or reports an error if no single best match can be found. The following example shows overload resolution in effect. The comment for each invocation in the `Main` method shows which method is actually invoked.
Method *overloading* permits multiple methods in the same class to have the same name as long as they have unique signatures. When compiling an invocation of an overloaded method, the compiler uses *overload resolution* to determine the specific method to invoke. Overload resolution finds the one method that best matches the arguments or reports an error if no single best match can be found. The following example shows overload resolution in effect. The comment for each invocation in the `UsageExample` method shows which method is actually invoked.

[!code-csharp[OverloadUsage](../../../samples/snippets/csharp/tour/classes-and-objects/Overloading.cs#L3-L41)]

Expand Down

0 comments on commit 7814c7b

Please sign in to comment.