Honour users' settings as a starting point for Razor formatting #76066
+25
−6
Build Analysis / Build Analysis
failed
Nov 25, 2024 in 0s
.NET Result Analysis
Details
Tip
To unconditionally bypass the build analysis check (turn it green), you can use the escape mechanism feature. The completion time may vary, potentially taking several minutes, depending on the build analysis workload at the moment.
Test Failures (13 tests failed)
🔹 [All failing tests from roslyn-integration-CI]
- Data Driven SubResults
- Exception Message
Assert.Contains() Failure: Sub-string not found String: "class Program\r\n{\r\n static void Main(st"··· Not found: "class Program\r\n{\r\n static void Main(st"···
- Stack Trace
at Roslyn.VisualStudio.IntegrationTests.InProcess.EditorVerifierInProcess.<TextContainsAsync>d__7.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/InProcess/EditorVerifierInProcess.cs:line 91 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult() at Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpGenerateFromUsage.<GenerateLocal>d__3.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/CSharp/CSharpGenerateFromUsage.cs:line 36 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
- Data Driven SubResults
- Exception Message
Assert.Contains() Failure: Sub-string not found String: "\r\npublic partial class Test\r\n{\r\n priva"··· Not found: "\r\npublic partial class Test\r\n{\r\n priva"···
- Stack Trace
at Roslyn.VisualStudio.IntegrationTests.InProcess.EditorVerifierInProcess.<TextContainsAsync>d__7.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/InProcess/EditorVerifierInProcess.cs:line 91 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult() at Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpTyping.<TypingInPartialType>d__3.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/CSharp/CSharpTyping.cs:line 73 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
- Data Driven SubResults
- Exception Message
Expected: C.cs(3, 5): error IDE0055: Fix formatting, C.cs(4, 5): error IDE0055: Fix formatting, C.cs(6, 5): error IDE0055: Fix formatting Actual:
Differences:
--> C.cs(3, 5): error IDE0055: Fix formatting,
--> C.cs(4, 5): error IDE0055: Fix formatting,
--> C.cs(6, 5): error IDE0055: Fix formatting
- Stack Trace
at Roslyn.Test.Utilities.AssertEx.Equal[T](IEnumerable`1 expected, IEnumerable`1 actual, IEqualityComparer`1 comparer, String message, String itemSeparator, Func`2 itemInspector, String expectedValueSourcePath, Int32 expectedValueSourceLine) in /_/src/Compilers/Test/Core/Assert/AssertEx.cs:line 246
at Roslyn.Test.Utilities.AssertEx.Equal[T](ImmutableArray`1 expected, ImmutableArray`1 actual) in /_/src/Compilers/Test/Core/Assert/AssertEx.cs:line 198
at Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpRedirectFeaturesAnalyzers.<UsesHostOptions_WhenEnforceCodeStyleInBuildIsFalse>d__5.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/CSharp/CSharpRedirectFeaturesAnalyzers.cs:line 61
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)- Data Driven SubResults
- Exception Message
Assert.Contains() Failure: Sub-string not found String: "using System;\r\nusing System.Collections.G"··· Not found: " public partial class Form1 : Form\r\n "···
- Stack Trace
at Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpWinForms.<AddClickHandler>d__6.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/CSharp/CSharpWinForms.cs:line 97 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
❌ Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpGenerateFromUsage.GenerateLocal(VS2022) [Details] [98.95% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
Failing Configurations (4)
-
❌ Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpGenerateFromUsage.GenerateLocal (VS2022)
❌ Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpTyping.TypingInPartialType(VS2022) [Details] [100.00% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
Failing Configurations (4)
-
❌ Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpTyping.TypingInPartialType (VS2022)
❌ Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpRedirectFeaturesAnalyzers.UsesHostOptions_WhenEnforceCodeStyleInBuildIsFalse(VS2022) [Details] [31.00% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
Failing Configuration
-
❌ Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpRedirectFeaturesAnalyzers.UsesHostOptions_WhenEnforceCodeStyleInBuildIsFalse (VS2022)
❌ Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpWinForms.AddClickHandler(VS2022) [Details] [100.00% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
Failing Configurations (4)
-
❌ Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpWinForms.AddClickHandler (VS2022)
Loading