diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml
index f50251dd71f4..e8efc74a572a 100644
--- a/eng/Version.Details.xml
+++ b/eng/Version.Details.xml
@@ -321,22 +321,22 @@
42af9fe6ddd7c3f9cde04ac003bf97509881873b
-
+
https://github.com/dotnet/razor
- fc8332fdd7a535acc5dfe8254429c1e8e4a1487e
+ 7ed43a1fe7680e35bb1f81a00478a383065ae58d
-
+
https://github.com/dotnet/razor
- fc8332fdd7a535acc5dfe8254429c1e8e4a1487e
+ 7ed43a1fe7680e35bb1f81a00478a383065ae58d
-
+
https://github.com/dotnet/razor
- fc8332fdd7a535acc5dfe8254429c1e8e4a1487e
+ 7ed43a1fe7680e35bb1f81a00478a383065ae58d
-
+
https://github.com/dotnet/razor
- fc8332fdd7a535acc5dfe8254429c1e8e4a1487e
+ 7ed43a1fe7680e35bb1f81a00478a383065ae58d
diff --git a/eng/Versions.props b/eng/Versions.props
index ff9fbfc80938..5482d0a84647 100644
--- a/eng/Versions.props
+++ b/eng/Versions.props
@@ -261,9 +261,9 @@
- 9.0.0-preview.24421.2
- 9.0.0-preview.24421.2
- 9.0.0-preview.24421.2
+ 9.0.0-preview.24427.2
+ 9.0.0-preview.24427.2
+ 9.0.0-preview.24427.2
diff --git a/src/RazorSdk/Tool/GenerateCommand.cs b/src/RazorSdk/Tool/GenerateCommand.cs
index bab310abf491..867d4f4ae412 100644
--- a/src/RazorSdk/Tool/GenerateCommand.cs
+++ b/src/RazorSdk/Tool/GenerateCommand.cs
@@ -230,7 +230,7 @@ private int ExecuteCore(
foreach (var result in results)
{
- var errorCount = result.CSharpDocument.Diagnostics.Count;
+ var errorCount = result.CSharpDocument.Diagnostics.Length;
for (var i = 0; i < errorCount; i++)
{
var error = result.CSharpDocument.Diagnostics[i];