From a98be476336d7c2ce7ec3b816fbcdfdccf7ed754 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Mon, 14 Jun 2021 18:01:44 +0000 Subject: [PATCH] Update dependencies from https://github.com/dotnet/runtime build 20210614.1 (#25092) [main] Update dependencies from dotnet/runtime --- eng/Version.Details.xml | 42 ++++++++++--------- eng/Versions.props | 18 ++++---- .../DesignApiConsistencyTest.cs | 7 +++- .../ApiConsistencyTestBase.cs | 3 ++ 4 files changed, 40 insertions(+), 30 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 06be1486918..3b763fdbb12 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -1,49 +1,51 @@ - + + https://github.com/dotnet/runtime 293d47286161827ecc0d6e96f9eb7b82dafe8307 - + https://github.com/dotnet/runtime - 293d47286161827ecc0d6e96f9eb7b82dafe8307 + af5c238556e204583b129cc8f5c7338f84dc2c40 - + https://github.com/dotnet/runtime - 293d47286161827ecc0d6e96f9eb7b82dafe8307 + af5c238556e204583b129cc8f5c7338f84dc2c40 - + https://github.com/dotnet/runtime - 293d47286161827ecc0d6e96f9eb7b82dafe8307 + af5c238556e204583b129cc8f5c7338f84dc2c40 - + https://github.com/dotnet/runtime - 293d47286161827ecc0d6e96f9eb7b82dafe8307 + af5c238556e204583b129cc8f5c7338f84dc2c40 - + https://github.com/dotnet/runtime - 293d47286161827ecc0d6e96f9eb7b82dafe8307 + af5c238556e204583b129cc8f5c7338f84dc2c40 - + https://github.com/dotnet/runtime - 293d47286161827ecc0d6e96f9eb7b82dafe8307 + af5c238556e204583b129cc8f5c7338f84dc2c40 - + https://github.com/dotnet/runtime - 293d47286161827ecc0d6e96f9eb7b82dafe8307 + af5c238556e204583b129cc8f5c7338f84dc2c40 - + + https://github.com/dotnet/runtime 293d47286161827ecc0d6e96f9eb7b82dafe8307 - + https://github.com/dotnet/runtime - 293d47286161827ecc0d6e96f9eb7b82dafe8307 + af5c238556e204583b129cc8f5c7338f84dc2c40 - + https://github.com/dotnet/runtime - 293d47286161827ecc0d6e96f9eb7b82dafe8307 + af5c238556e204583b129cc8f5c7338f84dc2c40 diff --git a/eng/Versions.props b/eng/Versions.props index 14f2000a2e2..74514224692 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -15,16 +15,16 @@ False - 6.0.0-preview.6.21276.2 - 6.0.0-preview.6.21276.2 + 6.0.0-preview.6.21314.1 + 6.0.0-preview.6.21314.1 6.0.0-preview.6.21276.2 - 6.0.0-preview.6.21276.2 - 6.0.0-preview.6.21276.2 - 6.0.0-preview.6.21276.2 - 6.0.0-preview.6.21276.2 - 6.0.0-preview.6.21276.2 - 6.0.0-preview.6.21276.2 - 6.0.0-preview.6.21276.2 + 6.0.0-preview.6.21314.1 + 6.0.0-preview.6.21314.1 + 6.0.0-preview.6.21314.1 + 6.0.0-preview.6.21314.1 + 6.0.0-preview.6.21314.1 + 6.0.0-preview.6.21314.1 + 6.0.0-preview.6.21314.1 6.0.0-preview.6.21276.2 diff --git a/test/EFCore.Design.Tests/DesignApiConsistencyTest.cs b/test/EFCore.Design.Tests/DesignApiConsistencyTest.cs index 1873f2201cc..96c5188dc4b 100644 --- a/test/EFCore.Design.Tests/DesignApiConsistencyTest.cs +++ b/test/EFCore.Design.Tests/DesignApiConsistencyTest.cs @@ -5,7 +5,6 @@ using System.Collections.Generic; using System.Reflection; using Microsoft.EntityFrameworkCore.Design; -using Microsoft.EntityFrameworkCore.TestUtilities; using Microsoft.Extensions.DependencyInjection; namespace Microsoft.EntityFrameworkCore @@ -27,6 +26,12 @@ protected override Assembly TargetAssembly public class DesignApiConsistencyFixture : ApiConsistencyFixtureBase { public override HashSet FluentApiTypes { get; } = new() { typeof(DesignTimeServiceCollectionExtensions) }; + + public override HashSet NonSealedPrivateNestedTypes { get; } = new() + { + Type.GetType("Microsoft.Extensions.Hosting.HostFactoryResolver+HostingListener, Microsoft.EntityFrameworkCore.Design", throwOnError: true), + Type.GetType("Microsoft.Extensions.Hosting.HostFactoryResolver+HostingListener+StopTheHostException, Microsoft.EntityFrameworkCore.Design", throwOnError: true) + }; } } } diff --git a/test/EFCore.Specification.Tests/ApiConsistencyTestBase.cs b/test/EFCore.Specification.Tests/ApiConsistencyTestBase.cs index aaea7c48144..f288d7cc072 100644 --- a/test/EFCore.Specification.Tests/ApiConsistencyTestBase.cs +++ b/test/EFCore.Specification.Tests/ApiConsistencyTestBase.cs @@ -773,6 +773,7 @@ where type.IsNestedPrivate && !type.IsSealed && !type.IsAbstract && !type.DeclaringType.GetNestedTypes(BindingFlags.NonPublic).Any(t => t.BaseType == type) + && !Fixture.NonSealedPrivateNestedTypes.Contains(type) select type.FullName) .ToList(); @@ -1055,6 +1056,8 @@ protected ApiConsistencyFixtureBase() public Dictionary MutableMetadataTypes { get; } = new(); public Dictionary ConventionMetadataTypes { get; } = new(); + public virtual HashSet NonSealedPrivateNestedTypes { get; } = new(); + public virtual List<(Type Type, Type ReadonlyExtensions,