From 1f27dcd99fc178ada6b8f0526cd3473dfe1bcc75 Mon Sep 17 00:00:00 2001 From: Jared Parsons Date: Thu, 2 Mar 2023 00:04:26 -0800 Subject: [PATCH] Fix bootstrap build (#67156) --- src/Compilers/CSharp/Portable/FlowAnalysis/NullableWalker.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Compilers/CSharp/Portable/FlowAnalysis/NullableWalker.cs b/src/Compilers/CSharp/Portable/FlowAnalysis/NullableWalker.cs index 81fc1510ab0a6..053c9035d8cce 100644 --- a/src/Compilers/CSharp/Portable/FlowAnalysis/NullableWalker.cs +++ b/src/Compilers/CSharp/Portable/FlowAnalysis/NullableWalker.cs @@ -8457,7 +8457,8 @@ private TypeWithState VisitUserDefinedConversion( bool reportRemainingWarnings, Location diagnosticLocation) { - Debug.Assert(!IsConditionalState); + // Uncomment when https://github.com/dotnet/roslyn/issues/67153 is fixed + // Debug.Assert(!IsConditionalState); Debug.Assert(conversionOperand != null); Debug.Assert(targetTypeWithNullability.HasType); Debug.Assert(diagnosticLocation != null);