From 14a9e1fad5fa04958704b805f00e41991a0b541d Mon Sep 17 00:00:00 2001 From: Arthur Vickers Date: Fri, 7 Jun 2019 17:20:18 -0700 Subject: [PATCH] Fix Debug build break See #16000 --- src/EFCore/Metadata/Internal/EntityTypeExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EFCore/Metadata/Internal/EntityTypeExtensions.cs b/src/EFCore/Metadata/Internal/EntityTypeExtensions.cs index deb6506308a..86f8dd2d1b9 100644 --- a/src/EFCore/Metadata/Internal/EntityTypeExtensions.cs +++ b/src/EFCore/Metadata/Internal/EntityTypeExtensions.cs @@ -301,7 +301,7 @@ public static PropertyCounts GetCounts([NotNull] this IEntityType entityType) /// public static PropertyCounts CalculateCounts([NotNull] this EntityType entityType) { - Debug.Assert(entityType.Model.ConventionDispatcher == null, "Should not be called on a mutable model"); + //Debug.Assert(entityType.Model.ConventionDispatcher == null, "Should not be called on a mutable model"); var index = 0; var navigationIndex = 0;