From 4eb5c003819b5b36fa234b4c1d6d7175e02ff12e Mon Sep 17 00:00:00 2001 From: Caro Caserio Date: Thu, 31 May 2018 21:16:21 -0300 Subject: [PATCH 1/2] C18280: Incorrect link structure (#5709) --- docs/core/tools/cli-msbuild-architecture.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/core/tools/cli-msbuild-architecture.md b/docs/core/tools/cli-msbuild-architecture.md index baddc27fc802c..e5fd369ba85c3 100644 --- a/docs/core/tools/cli-msbuild-architecture.md +++ b/docs/core/tools/cli-msbuild-architecture.md @@ -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. - - [!INCLUDE[DotNet Restore Note](~/includes/dotnet-restore-note.md)] \ No newline at end of file + +[!INCLUDE[DotNet Restore Note](~/includes/dotnet-restore-note.md)] From 01c3f29235cd78dc7da40dca6c6206035d3fa17d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=AD=E4=B9=9D=E9=BC=8E?= <109224573@qq.com> Date: Wed, 20 Jun 2018 15:22:01 +0800 Subject: [PATCH 2/2] fix method name --- docs/csharp/tour-of-csharp/classes-and-objects.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/csharp/tour-of-csharp/classes-and-objects.md b/docs/csharp/tour-of-csharp/classes-and-objects.md index 7cd4fea96ea93..a758168ab055c 100644 --- a/docs/csharp/tour-of-csharp/classes-and-objects.md +++ b/docs/csharp/tour-of-csharp/classes-and-objects.md @@ -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)]