Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/7.0.2xx] Update dependencies from dotnet/roslyn #28519

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
0c1ad87
Update dependencies from https://github.com/dotnet/roslyn build 20221…
dotnet-maestro[bot] Oct 12, 2022
47710d4
Update dependencies from https://github.com/dotnet/roslyn build 20221…
dotnet-maestro[bot] Oct 13, 2022
632223e
Update dependencies from https://github.com/dotnet/roslyn build 20221…
dotnet-maestro[bot] Oct 13, 2022
a97e144
Update dependencies from https://github.com/dotnet/roslyn build 20221…
dotnet-maestro[bot] Oct 13, 2022
7e6cd24
Update dependencies from https://github.com/dotnet/roslyn build 20221…
dotnet-maestro[bot] Oct 13, 2022
950e718
Update dependencies from https://github.com/dotnet/roslyn build 20221…
dotnet-maestro[bot] Oct 13, 2022
69909e7
Update dependencies from https://github.com/dotnet/roslyn build 20221…
dotnet-maestro[bot] Oct 13, 2022
eff8ba7
Update dependencies from https://github.com/dotnet/roslyn build 20221…
dotnet-maestro[bot] Oct 14, 2022
fa4dc8c
Update dependencies from https://github.com/dotnet/roslyn build 20221…
dotnet-maestro[bot] Oct 14, 2022
d5bae01
Update dependencies from https://github.com/dotnet/roslyn build 20221…
dotnet-maestro[bot] Oct 14, 2022
c0a5429
Update dependencies from https://github.com/dotnet/roslyn build 20221…
dotnet-maestro[bot] Oct 14, 2022
262e2cb
Update dependencies from https://github.com/dotnet/roslyn build 20221…
dotnet-maestro[bot] Oct 14, 2022
3d549f3
Update dependencies from https://github.com/dotnet/roslyn build 20221…
dotnet-maestro[bot] Oct 15, 2022
7952db2
Update dependencies from https://github.com/dotnet/roslyn build 20221…
dotnet-maestro[bot] Oct 17, 2022
3351d08
Update dependencies from https://github.com/dotnet/roslyn build 20221…
dotnet-maestro[bot] Oct 17, 2022
6827ec0
Update dependencies from https://github.com/dotnet/roslyn build 20221…
dotnet-maestro[bot] Oct 18, 2022
6805b34
Update dependencies from https://github.com/dotnet/roslyn build 20221…
dotnet-maestro[bot] Oct 18, 2022
0b1dc22
Update dependencies from https://github.com/dotnet/roslyn build 20221…
dotnet-maestro[bot] Oct 18, 2022
fa73a80
Update dependencies from https://github.com/dotnet/roslyn build 20221…
dotnet-maestro[bot] Oct 19, 2022
b95b7bf
Update dependencies from https://github.com/dotnet/roslyn build 20221…
dotnet-maestro[bot] Oct 19, 2022
8aa8f1c
Update dependencies from https://github.com/dotnet/roslyn build 20221…
dotnet-maestro[bot] Oct 19, 2022
9b143c4
Update dependencies from https://github.com/dotnet/roslyn build 20221…
dotnet-maestro[bot] Oct 19, 2022
273e215
Update dependencies from https://github.com/dotnet/roslyn build 20221…
dotnet-maestro[bot] Oct 20, 2022
960fda4
Suppress false positives. Updating analyzers is tracked by https://gi…
333fred Oct 20, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,34 +68,34 @@
<Sha>818980d40cad0f434e4bb65678d90dac30f5a439</Sha>
<SourceBuildTarball RepoName="format" ManagedOnly="true" />
</Dependency>
<Dependency Name="Microsoft.Net.Compilers.Toolset" Version="4.5.0-1.22511.15">
<Dependency Name="Microsoft.Net.Compilers.Toolset" Version="4.5.0-1.22519.12">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>f9e6ff2705883669cdaa1c806af08d46dec04c1e</Sha>
<Sha>50b404de631906144f43261fa1abeae8f40b75ef</Sha>
<SourceBuild RepoName="roslyn" ManagedOnly="true" />
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis" Version="4.5.0-1.22511.15">
<Dependency Name="Microsoft.CodeAnalysis" Version="4.5.0-1.22519.12">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>f9e6ff2705883669cdaa1c806af08d46dec04c1e</Sha>
<Sha>50b404de631906144f43261fa1abeae8f40b75ef</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.CSharp" Version="4.5.0-1.22511.15">
<Dependency Name="Microsoft.CodeAnalysis.CSharp" Version="4.5.0-1.22519.12">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>f9e6ff2705883669cdaa1c806af08d46dec04c1e</Sha>
<Sha>50b404de631906144f43261fa1abeae8f40b75ef</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.CSharp.CodeStyle" Version="4.5.0-1.22511.15">
<Dependency Name="Microsoft.CodeAnalysis.CSharp.CodeStyle" Version="4.5.0-1.22519.12">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>f9e6ff2705883669cdaa1c806af08d46dec04c1e</Sha>
<Sha>50b404de631906144f43261fa1abeae8f40b75ef</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.CSharp.Features" Version="4.5.0-1.22511.15">
<Dependency Name="Microsoft.CodeAnalysis.CSharp.Features" Version="4.5.0-1.22519.12">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>f9e6ff2705883669cdaa1c806af08d46dec04c1e</Sha>
<Sha>50b404de631906144f43261fa1abeae8f40b75ef</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.5.0-1.22511.15">
<Dependency Name="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.5.0-1.22519.12">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>f9e6ff2705883669cdaa1c806af08d46dec04c1e</Sha>
<Sha>50b404de631906144f43261fa1abeae8f40b75ef</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.Workspaces.MSBuild" Version="4.5.0-1.22511.15">
<Dependency Name="Microsoft.CodeAnalysis.Workspaces.MSBuild" Version="4.5.0-1.22519.12">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>f9e6ff2705883669cdaa1c806af08d46dec04c1e</Sha>
<Sha>50b404de631906144f43261fa1abeae8f40b75ef</Sha>
</Dependency>
<Dependency Name="Microsoft.AspNetCore.DeveloperCertificates.XPlat" Version="7.0.0-rtm.22511.13">
<Uri>https://github.com/dotnet/aspnetcore</Uri>
Expand Down
14 changes: 7 additions & 7 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,13 @@
</PropertyGroup>
<PropertyGroup>
<!-- Dependencies from https://github.com/dotnet/roslyn -->
<MicrosoftNetCompilersToolsetPackageVersion>4.5.0-1.22511.15</MicrosoftNetCompilersToolsetPackageVersion>
<MicrosoftCodeAnalysisPackageVersion>4.5.0-1.22511.15</MicrosoftCodeAnalysisPackageVersion>
<MicrosoftCodeAnalysisCSharpPackageVersion>4.5.0-1.22511.15</MicrosoftCodeAnalysisCSharpPackageVersion>
<MicrosoftCodeAnalysisCSharpCodeStylePackageVersion>4.5.0-1.22511.15</MicrosoftCodeAnalysisCSharpCodeStylePackageVersion>
<MicrosoftCodeAnalysisCSharpFeaturesPackageVersion>4.5.0-1.22511.15</MicrosoftCodeAnalysisCSharpFeaturesPackageVersion>
<MicrosoftCodeAnalysisWorkspacesMSBuildPackageVersion>4.5.0-1.22511.15</MicrosoftCodeAnalysisWorkspacesMSBuildPackageVersion>
<MicrosoftCodeAnalysisCSharpWorkspacesPackageVersion>4.5.0-1.22511.15</MicrosoftCodeAnalysisCSharpWorkspacesPackageVersion>
<MicrosoftNetCompilersToolsetPackageVersion>4.5.0-1.22519.12</MicrosoftNetCompilersToolsetPackageVersion>
<MicrosoftCodeAnalysisPackageVersion>4.5.0-1.22519.12</MicrosoftCodeAnalysisPackageVersion>
<MicrosoftCodeAnalysisCSharpPackageVersion>4.5.0-1.22519.12</MicrosoftCodeAnalysisCSharpPackageVersion>
<MicrosoftCodeAnalysisCSharpCodeStylePackageVersion>4.5.0-1.22519.12</MicrosoftCodeAnalysisCSharpCodeStylePackageVersion>
<MicrosoftCodeAnalysisCSharpFeaturesPackageVersion>4.5.0-1.22519.12</MicrosoftCodeAnalysisCSharpFeaturesPackageVersion>
<MicrosoftCodeAnalysisWorkspacesMSBuildPackageVersion>4.5.0-1.22519.12</MicrosoftCodeAnalysisWorkspacesMSBuildPackageVersion>
<MicrosoftCodeAnalysisCSharpWorkspacesPackageVersion>4.5.0-1.22519.12</MicrosoftCodeAnalysisCSharpWorkspacesPackageVersion>
<MicrosoftNetCompilersToolsetVersion>$(MicrosoftNetCompilersToolsetPackageVersion)</MicrosoftNetCompilersToolsetVersion>
</PropertyGroup>
<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,9 @@ public static IEnumerable<object[]> GetInvalidParametersTestData()
}

[Theory]
#pragma warning disable CA1825 // Avoid zero-length array allocations. https://github.com/dotnet/sdk/issues/28672
[MemberData(nameof(GetInvalidParametersTestData))]
#pragma warning restore CA1825 // Avoid zero-length array allocations.
// invalid params:
// [0] name / value - Kind
// [1] canonical
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ public void Create_CanParseTemplateWithOptions()
}

[Theory]
#pragma warning disable CA1825 // Avoid zero-length array allocations. https://github.com/dotnet/sdk/issues/28672
[MemberData(nameof(CanEvaluateTemplateToRunData))]
#pragma warning restore CA1825 // Avoid zero-length array allocations.
internal void Create_CanEvaluateTemplateToRun(string command, string templateSet, string? defaultLanguage, string? expectedIdentitiesStr)
{
TemplateGroup templateGroup = TemplateGroup.FromTemplateList(
Expand Down Expand Up @@ -124,7 +126,9 @@ internal void Create_CanValidateOptionUsage_InNewCommand(string command, string?
}

[Theory]
#pragma warning disable CA1825 // Avoid zero-length array allocations. https://github.com/dotnet/sdk/issues/28672
[MemberData(nameof(CanParseTemplateOptionsData))]
#pragma warning restore CA1825 // Avoid zero-length array allocations.
internal void Create_CanParseTemplateOptions(string command, string parameterName, string parameterType, string? defaultValue, string? defaultIfNoOptionValue, string? expectedValue)
{
//unique case for dotnet new create
Expand Down Expand Up @@ -165,7 +169,9 @@ internal void Create_CanParseTemplateOptions(string command, string parameterNam
}

[Theory]
#pragma warning disable CA1825 // Avoid zero-length array allocations. https://github.com/dotnet/sdk/issues/28672
[MemberData(nameof(CanParseChoiceTemplateOptionsData))]
#pragma warning restore CA1825 // Avoid zero-length array allocations.
internal void Create_CanParseChoiceTemplateOptions(string command, string parameterName, string parameterValues, string? defaultIfNoOptionValue, string? expectedValue)
{
MockTemplateInfo template = new MockTemplateInfo("foo", identity: "foo.1", groupIdentity: "foo.group")
Expand Down Expand Up @@ -200,7 +206,9 @@ internal void Create_CanParseChoiceTemplateOptions(string command, string parame
}

[Theory]
#pragma warning disable CA1825 // Avoid zero-length array allocations. https://github.com/dotnet/sdk/issues/28672
[MemberData(nameof(CanDetectParseErrorsTemplateOptionsData))]
#pragma warning restore CA1825 // Avoid zero-length array allocations.
internal void Create_CanDetectParseErrorsTemplateOptions(
string command,
string parameterName,
Expand Down Expand Up @@ -234,7 +242,9 @@ internal void Create_CanDetectParseErrorsTemplateOptions(
}

[Theory]
#pragma warning disable CA1825 // Avoid zero-length array allocations. https://github.com/dotnet/sdk/issues/28672
[MemberData(nameof(CanDetectParseErrorsChoiceTemplateOptionsData))]
#pragma warning restore CA1825 // Avoid zero-length array allocations.
internal void Create_CanDetectParseErrorsChoiceTemplateOptions(
string command,
string parameterName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,9 @@ public void Instantiate_CanParseTemplateWithOptions()
};

[Theory]
#pragma warning disable CA1825 // Avoid zero-length array allocations. https://github.com/dotnet/sdk/issues/28672
[MemberData(nameof(CanEvaluateTemplateToRunData))]
#pragma warning restore CA1825 // Avoid zero-length array allocations.
internal void CanEvaluateTemplateToRun(string command, string templateSet, string? defaultLanguage, string? expectedIdentitiesStr)
{
TemplateGroup templateGroup = TemplateGroup.FromTemplateList(
Expand Down Expand Up @@ -304,7 +306,9 @@ internal void CanParseNameOption(string command, string? expectedValue)
};

[Theory]
#pragma warning disable CA1825 // Avoid zero-length array allocations. https://github.com/dotnet/sdk/issues/28672
[MemberData(nameof(CanParseTemplateOptionsData))]
#pragma warning restore CA1825 // Avoid zero-length array allocations.
internal void CanParseTemplateOptions(string command, string parameterName, string parameterType, string? defaultValue, string? defaultIfNoOptionValue, string? expectedValue)
{
MockTemplateInfo template = new MockTemplateInfo("foo", identity: "foo.1", groupIdentity: "foo.group")
Expand Down Expand Up @@ -348,7 +352,9 @@ internal void CanParseTemplateOptions(string command, string parameterName, stri
};

[Theory]
#pragma warning disable CA1825 // Avoid zero-length array allocations. https://github.com/dotnet/sdk/issues/28672
[MemberData(nameof(CanParseChoiceTemplateOptionsData))]
#pragma warning restore CA1825 // Avoid zero-length array allocations.
internal void CanParseChoiceTemplateOptions(string command, string parameterName, string parameterValues, string? defaultIfNoOptionValue, string? expectedValue)
{
MockTemplateInfo template = new MockTemplateInfo("foo", identity: "foo.1", groupIdentity: "foo.group")
Expand Down Expand Up @@ -392,7 +398,9 @@ internal void CanParseChoiceTemplateOptions(string command, string parameterName
};

[Theory]
#pragma warning disable CA1825 // Avoid zero-length array allocations. https://github.com/dotnet/sdk/issues/28672
[MemberData(nameof(CanParseMultiChoiceTemplateOptionsData))]
#pragma warning restore CA1825 // Avoid zero-length array allocations.
internal void CanParseMultiChoiceTemplateOptions(string command, string parameterName, string parameterValues, string? defaultIfNoOptionValue, string? expectedValue)
{
MockTemplateInfo template = new MockTemplateInfo("foo", identity: "foo.1", groupIdentity: "foo.group")
Expand Down Expand Up @@ -455,7 +463,9 @@ internal void CanParseMultiChoiceTemplateOptions(string command, string paramete
};

[Theory]
#pragma warning disable CA1825 // Avoid zero-length array allocations. https://github.com/dotnet/sdk/issues/28672
[MemberData(nameof(CanDetectParseErrorsTemplateOptionsData))]
#pragma warning restore CA1825 // Avoid zero-length array allocations.
internal void CanDetectParseErrorsTemplateOptions(
string command,
string parameterName,
Expand Down Expand Up @@ -498,7 +508,9 @@ internal void CanDetectParseErrorsTemplateOptions(
};

[Theory]
#pragma warning disable CA1825 // Avoid zero-length array allocations. https://github.com/dotnet/sdk/issues/28672
[MemberData(nameof(CanDetectParseErrorsChoiceTemplateOptionsData))]
#pragma warning restore CA1825 // Avoid zero-length array allocations.
internal void CanDetectParseErrorsChoiceTemplateOptions(
string command,
string parameterName,
Expand Down
8 changes: 8 additions & 0 deletions src/Tests/dotnet-new.Tests/CommonTemplatesTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,9 @@ public void GlobalJsonTests(string expectedContent, params string[] parameters)

[Theory]
//creates all possible combinations for supported templates, language versions and frameworks
#pragma warning disable CA1825 // Avoid zero-length array allocations. https://github.com/dotnet/sdk/issues/28672
[MemberData(nameof(TopLevelProgramSupport_Data))]
#pragma warning restore CA1825 // Avoid zero-length array allocations.
public void TopLevelProgramSupport(string name, bool buildPass, string? framework, string? langVersion, bool supportsFeature)
{
string workingDir = CreateTemporaryFolder(folderName: $"{name}-{langVersion ?? "null"}-{framework ?? "null"}");
Expand Down Expand Up @@ -538,7 +540,9 @@ static void Main(string[] args)

[Theory]
//creates all possible combinations for supported templates, language versions and frameworks
#pragma warning disable CA1825 // Avoid zero-length array allocations. https://github.com/dotnet/sdk/issues/28672
[MemberData(nameof(NullableSupport_Data))]
#pragma warning restore CA1825 // Avoid zero-length array allocations.
public void NullableSupport(string name, bool buildPass, string? framework, string? langVersion, bool supportsFeature)
{
string workingDir = CreateTemporaryFolder(folderName: $"{name}-{langVersion ?? "null"}-{framework ?? "null"}");
Expand Down Expand Up @@ -640,7 +644,9 @@ public void NullableSupport(string name, bool buildPass, string? framework, stri

[Theory]
//creates all possible combinations for supported templates, language versions and frameworks
#pragma warning disable CA1825 // Avoid zero-length array allocations. https://github.com/dotnet/sdk/issues/28672
[MemberData(nameof(ImplicitUsingsSupport_Data))]
#pragma warning restore CA1825 // Avoid zero-length array allocations.
public void ImplicitUsingsSupport(string name, bool buildPass, string? framework, string? langVersion, bool supportsFeature)
{
string workingDir = CreateTemporaryFolder(folderName: $"{name}-{langVersion ?? "null"}-{framework ?? "null"}");
Expand Down Expand Up @@ -727,7 +733,9 @@ public void ImplicitUsingsSupport(string name, bool buildPass, string? framework

[Theory]
//creates all possible combinations for supported templates, language versions and frameworks
#pragma warning disable CA1825 // Avoid zero-length array allocations.https://github.com/dotnet/sdk/issues/28672
[MemberData(nameof(FileScopedNamespacesSupport_Data))]
#pragma warning restore CA1825 // Avoid zero-length array allocations.
public void FileScopedNamespacesSupport(string name, bool pass, string? framework, string? langVersion, bool supportsFeature)
{
string workingDir = CreateTemporaryFolder(folderName: $"{name}-{langVersion ?? "null"}-{framework ?? "null"}");
Expand Down