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

Update to .NET 6 Preview 7 #25244

Merged
merged 18 commits into from
Jul 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
16912aa
Update dependencies from https://github.com/dotnet/runtime build 2021…
dotnet-maestro[bot] Jul 19, 2021
92746a1
Update dependencies from https://github.com/dotnet/runtime build 2021…
dotnet-maestro[bot] Jul 20, 2021
f51784b
Update dependencies from https://github.com/dotnet/runtime build 2021…
dotnet-maestro[bot] Jul 20, 2021
1c97205
Update dependencies from https://github.com/dotnet/runtime build 2021…
dotnet-maestro[bot] Jul 21, 2021
425f22e
Update dependencies from https://github.com/dotnet/runtime build 2021…
dotnet-maestro[bot] Jul 21, 2021
ee385b2
Update dependencies from https://github.com/dotnet/runtime build 2021…
dotnet-maestro[bot] Jul 22, 2021
96386a4
[release/6.0-preview7] Update dependencies from dotnet/runtime (#25316)
dotnet-maestro[bot] Jul 22, 2021
79c2a82
Update dependencies from https://github.com/dotnet/runtime build 2021…
dotnet-maestro[bot] Jul 23, 2021
0eeef0d
Update dependencies from https://github.com/dotnet/arcade build 20210…
dotnet-maestro[bot] Jul 23, 2021
131d5da
Update dependencies from https://github.com/dotnet/runtime build 2021…
dotnet-maestro[bot] Jul 24, 2021
4950317
[preview7] Unpin Microsoft.Extensions.Caching.Memory and Microsoft.Ex…
mmitche Jul 26, 2021
8f08a18
Update dependencies from latest p7 runtime (#25337)
mmitche Jul 26, 2021
74915d4
[release/6.0-preview7] Update dependencies from dotnet/runtime (#25338)
dotnet-maestro[bot] Jul 27, 2021
2d603e9
Update dependencies from https://github.com/dotnet/runtime build 2021…
dotnet-maestro[bot] Jul 27, 2021
bfcdda4
Update dependencies from https://github.com/dotnet/runtime build 2021…
dotnet-maestro[bot] Jul 27, 2021
02c913d
Update dependencies from https://github.com/dotnet/runtime build 2021…
dotnet-maestro[bot] Jul 28, 2021
4356cb8
Merge branch 'release/6.0-preview7'
bricelam Jul 29, 2021
9832e7b
Update to .NET 6 Preview 7
bricelam Jul 29, 2021
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
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<PackageTags>Entity Framework Core;entity-framework-core;EF;Data;O/RM;EntityFramework;EntityFrameworkCore;EFCore</PackageTags>
<Product>Microsoft Entity Framework Core</Product>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<LangVersion>9.0</LangVersion>
<LangVersion>10.0</LangVersion>
<DebugType>portable</DebugType>
<PackageProjectUrl>https://docs.microsoft.com/ef/core/</PackageProjectUrl>
</PropertyGroup>
Expand Down
10 changes: 4 additions & 6 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Dependencies>
<ProductDependencies>
<!-- NB: Pinned for compatibility with Preview 5 -->
<Dependency Name="Microsoft.Extensions.Caching.Memory" Version="6.0.0-preview.6.21276.2" Pinned="True">
<Dependency Name="Microsoft.Extensions.Caching.Memory" Version="6.0.0-rc.1.21375.2">
<Uri>https://github.com/dotnet/runtime</Uri>
<Sha>293d47286161827ecc0d6e96f9eb7b82dafe8307</Sha>
<Sha>95863758cd16c345d0b8fca067d5db5d6901e498</Sha>
</Dependency>
<Dependency Name="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="6.0.0-rc.1.21375.2">
<Uri>https://github.com/dotnet/runtime</Uri>
Expand Down Expand Up @@ -34,10 +33,9 @@
<Uri>https://github.com/dotnet/runtime</Uri>
<Sha>95863758cd16c345d0b8fca067d5db5d6901e498</Sha>
</Dependency>
<!-- NB: Pinned for compatibility with Preview 5 -->
<Dependency Name="Microsoft.Extensions.Logging" Version="6.0.0-preview.6.21276.2" Pinned="True">
<Dependency Name="Microsoft.Extensions.Logging" Version="6.0.0-rc.1.21375.2">
<Uri>https://github.com/dotnet/runtime</Uri>
<Sha>293d47286161827ecc0d6e96f9eb7b82dafe8307</Sha>
<Sha>95863758cd16c345d0b8fca067d5db5d6901e498</Sha>
</Dependency>
<Dependency Name="System.Collections.Immutable" Version="6.0.0-rc.1.21375.2">
<Uri>https://github.com/dotnet/runtime</Uri>
Expand Down
4 changes: 2 additions & 2 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
<PropertyGroup Label="Dependencies from dotnet/runtime">
<SystemCollectionsImmutableVersion>6.0.0-rc.1.21375.2</SystemCollectionsImmutableVersion>
<SystemDiagnosticsDiagnosticSourceVersion>6.0.0-rc.1.21375.2</SystemDiagnosticsDiagnosticSourceVersion>
<MicrosoftExtensionsCachingMemoryVersion>6.0.0-preview.6.21276.2</MicrosoftExtensionsCachingMemoryVersion>
<MicrosoftExtensionsCachingMemoryVersion>6.0.0-rc.1.21375.2</MicrosoftExtensionsCachingMemoryVersion>
<MicrosoftExtensionsConfigurationVersion>6.0.0-rc.1.21375.2</MicrosoftExtensionsConfigurationVersion>
<MicrosoftExtensionsConfigurationAbstractionsVersion>6.0.0-rc.1.21375.2</MicrosoftExtensionsConfigurationAbstractionsVersion>
<MicrosoftExtensionsConfigurationEnvironmentVariablesVersion>6.0.0-rc.1.21375.2</MicrosoftExtensionsConfigurationEnvironmentVariablesVersion>
<MicrosoftExtensionsConfigurationJsonVersion>6.0.0-rc.1.21375.2</MicrosoftExtensionsConfigurationJsonVersion>
<MicrosoftExtensionsDependencyInjectionVersion>6.0.0-rc.1.21375.2</MicrosoftExtensionsDependencyInjectionVersion>
<MicrosoftExtensionsDependencyModelVersion>6.0.0-rc.1.21375.2</MicrosoftExtensionsDependencyModelVersion>
<MicrosoftExtensionsHostFactoryResolverSourcesVersion>6.0.0-rc.1.21375.2</MicrosoftExtensionsHostFactoryResolverSourcesVersion>
<MicrosoftExtensionsLoggingVersion>6.0.0-preview.6.21276.2</MicrosoftExtensionsLoggingVersion>
<MicrosoftExtensionsLoggingVersion>6.0.0-rc.1.21375.2</MicrosoftExtensionsLoggingVersion>
</PropertyGroup>
<PropertyGroup Label="Other dependencies">
<MicrosoftCodeAnalysisVersion>3.7.0</MicrosoftCodeAnalysisVersion>
Expand Down
4 changes: 2 additions & 2 deletions global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"tools": {
"dotnet": "6.0.100-preview.6.21355.2",
"dotnet": "6.0.100-preview.7.21377.35",
"runtimes": {
"dotnet": [
"3.1.16",
Expand All @@ -13,7 +13,7 @@
}
},
"sdk": {
"version": "6.0.100-preview.6.21355.2",
"version": "6.0.100-preview.7.21377.35",
"allowPrerelease": true,
"rollForward": "latestMajor"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ public ObservableBackedBindingList(ICollection<T> observableCollection)
/// any release. You should only use it directly in your code with extreme caution and knowing that
/// doing so can result in application failures when updating to a new Entity Framework Core release.
/// </summary>
protected override object AddNewCore()
protected override object? AddNewCore()
{
_addingNewInstance = true;
_addNewInstance = (T)base.AddNewCore();
_addNewInstance = (T?)base.AddNewCore();
return _addNewInstance;
}

Expand Down
2 changes: 1 addition & 1 deletion src/EFCore/Metadata/Builders/IndexBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class IndexBuilder : IInfrastructure<IConventionIndexBuilder>
[EntityFrameworkInternal]
public IndexBuilder(IMutableIndex index)
{
Builder = ((Index)index).Builder;
Builder = ((Internal.Index)index).Builder;
}

/// <summary>
Expand Down
5 changes: 2 additions & 3 deletions test/EFCore.Relational.Tests/Metadata/RelationalIndexTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.

using System.Linq;
using Microsoft.EntityFrameworkCore.Metadata.Internal;
using Microsoft.EntityFrameworkCore.TestUtilities;
using Xunit;

Expand All @@ -28,7 +27,7 @@ public void IndexAttribute_database_name_can_be_overriden_using_fluent_api()

modelBuilder.Model.FinalizeModel();

var index0 = (Index)entityBuilder.Metadata.GetIndexes().First();
var index0 = (Internal.Index)entityBuilder.Metadata.GetIndexes().First();
Assert.Equal(ConfigurationSource.DataAnnotation, index0.GetConfigurationSource());
Assert.Equal("IndexOnAAndB", index0.Name);
Assert.Equal("MyIndexOnAAndB", index0.GetDatabaseName());
Expand All @@ -40,7 +39,7 @@ public void IndexAttribute_database_name_can_be_overriden_using_fluent_api()
prop0 => Assert.Equal("A", prop0.Name),
prop1 => Assert.Equal("B", prop1.Name));

var index1 = (Index)entityBuilder.Metadata.GetIndexes().Skip(1).First();
var index1 = (Internal.Index)entityBuilder.Metadata.GetIndexes().Skip(1).First();
Assert.Equal(ConfigurationSource.DataAnnotation, index1.GetConfigurationSource());
Assert.Equal("IndexOnBAndC", index1.Name);
Assert.Equal("MyIndexOnBAndC", index1.GetDatabaseName());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<PropertyGroup>
<Description>Shared test suite for Entity Framework Core database providers.</Description>
<TargetFramework>net6.0</TargetFramework>
<LangVersion>9.0</LangVersion>
<AssemblyName>Microsoft.EntityFrameworkCore.Specification.Tests</AssemblyName>
<RootNamespace>Microsoft.EntityFrameworkCore</RootNamespace>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
Expand Down