diff --git a/patches/installer/0006-Source-build-doesn-t-use-dotnet-debv-tool.patch b/patches/installer/0006-Source-build-doesn-t-use-dotnet-debv-tool.patch new file mode 100644 index 0000000000..d74d0f0308 --- /dev/null +++ b/patches/installer/0006-Source-build-doesn-t-use-dotnet-debv-tool.patch @@ -0,0 +1,25 @@ +From a9a817d04b13c1b92c96a9178d92170c7d9f68e0 Mon Sep 17 00:00:00 2001 +From: Chris Rummel +Date: Thu, 24 Sep 2020 13:39:47 -0500 +Subject: [PATCH 6/6] Source-build doesn't use dotnet-debv-tool. + +--- + src/redist/targets/GenerateDebs.targets | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/redist/targets/GenerateDebs.targets b/src/redist/targets/GenerateDebs.targets +index 72305b0a7..f5a1baabd 100644 +--- a/src/redist/targets/GenerateDebs.targets ++++ b/src/redist/targets/GenerateDebs.targets +@@ -3,7 +3,7 @@ + + + +- ++ + + + +Date: Thu, 24 Sep 2020 13:45:50 -0500 +Subject: [PATCH 7/7] Don't use Humanizer in source-build. + +--- + .../Microsoft.CodeAnalysis.CSharp.CodeStyle.csproj | 4 ++-- + .../Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.csproj | 4 ++-- + .../Portable/Microsoft.CodeAnalysis.CSharp.Features.csproj | 4 ++-- + .../Microsoft.CodeAnalysis.CSharp.Workspaces.csproj | 4 ++-- + .../Compiler/CSharp/Extensions/SemanticModelExtensions.cs | 6 +++--- + 5 files changed, 11 insertions(+), 11 deletions(-) + +diff --git a/src/CodeStyle/CSharp/Analyzers/Microsoft.CodeAnalysis.CSharp.CodeStyle.csproj b/src/CodeStyle/CSharp/Analyzers/Microsoft.CodeAnalysis.CSharp.CodeStyle.csproj +index 2c7af08b354..18a263ff52a 100644 +--- a/src/CodeStyle/CSharp/Analyzers/Microsoft.CodeAnalysis.CSharp.CodeStyle.csproj ++++ b/src/CodeStyle/CSharp/Analyzers/Microsoft.CodeAnalysis.CSharp.CodeStyle.csproj +@@ -10,7 +10,7 @@ + + + +- ++ + + + +@@ -28,4 +28,4 @@ + + + +- +\ No newline at end of file ++ +diff --git a/src/CodeStyle/CSharp/CodeFixes/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.csproj b/src/CodeStyle/CSharp/CodeFixes/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.csproj +index 4ce5a872393..0ef4d309c9d 100644 +--- a/src/CodeStyle/CSharp/CodeFixes/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.csproj ++++ b/src/CodeStyle/CSharp/CodeFixes/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.csproj +@@ -36,7 +36,7 @@ + + + +- ++ + + + +@@ -55,4 +55,4 @@ + + + +- +\ No newline at end of file ++ +diff --git a/src/Features/CSharp/Portable/Microsoft.CodeAnalysis.CSharp.Features.csproj b/src/Features/CSharp/Portable/Microsoft.CodeAnalysis.CSharp.Features.csproj +index f41ffaa6a77..ad68fda9fea 100644 +--- a/src/Features/CSharp/Portable/Microsoft.CodeAnalysis.CSharp.Features.csproj ++++ b/src/Features/CSharp/Portable/Microsoft.CodeAnalysis.CSharp.Features.csproj +@@ -64,9 +64,9 @@ + + + +- ++ + + + + +- +\ No newline at end of file ++ +diff --git a/src/Workspaces/CSharp/Portable/Microsoft.CodeAnalysis.CSharp.Workspaces.csproj b/src/Workspaces/CSharp/Portable/Microsoft.CodeAnalysis.CSharp.Workspaces.csproj +index 097e06a5d12..eb316fc7d36 100644 +--- a/src/Workspaces/CSharp/Portable/Microsoft.CodeAnalysis.CSharp.Workspaces.csproj ++++ b/src/Workspaces/CSharp/Portable/Microsoft.CodeAnalysis.CSharp.Workspaces.csproj +@@ -20,7 +20,7 @@ + + + +- ++ + + + +@@ -60,4 +60,4 @@ + + + +- +\ No newline at end of file ++ +diff --git a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/Extensions/SemanticModelExtensions.cs b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/Extensions/SemanticModelExtensions.cs +index 900b94ea7ac..82f25d6d9b1 100644 +--- a/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/Extensions/SemanticModelExtensions.cs ++++ b/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/Extensions/SemanticModelExtensions.cs +@@ -6,7 +6,6 @@ + using System.Collections.Immutable; + using System.Linq; + using System.Threading; +-using Humanizer; + using Microsoft.CodeAnalysis; + using Microsoft.CodeAnalysis.CSharp.Syntax; + using Microsoft.CodeAnalysis.Shared.Extensions; +@@ -234,7 +233,7 @@ private static bool CanBindToken(SyntaxToken token) + else if (current.Parent is ForEachStatementSyntax foreachStatement && + foreachStatement.Expression == expression) + { +- return foreachStatement.Identifier.ValueText.ToCamelCase().Pluralize(); ++ return foreachStatement.Identifier.ValueText.ToCamelCase(); + } + else + { +@@ -260,7 +259,8 @@ private static bool CanBindToken(SyntaxToken token) + var pluralize = Pluralize(semanticModel, type); + + var parameterName = type.CreateParameterName(capitalize); +- return pluralize ? parameterName.Pluralize() : parameterName; ++ // return pluralize ? parameterName.Pluralize() : parameterName; ++ return parameterName; + } + + private static bool Pluralize(SemanticModel semanticModel, ITypeSymbol type) +-- +2.18.0 + diff --git a/tools-local/prebuilt-baseline-offline.xml b/tools-local/prebuilt-baseline-offline.xml index e122ead6f7..cfe745c462 100644 --- a/tools-local/prebuilt-baseline-offline.xml +++ b/tools-local/prebuilt-baseline-offline.xml @@ -78,8 +78,6 @@ - -