diff --git a/src/Compilers/CSharp/Portable/Compilation/CSharpSemanticModel.cs b/src/Compilers/CSharp/Portable/Compilation/CSharpSemanticModel.cs index 419f2103497df393f2b42ade286c36605612bf01..8ff9accd1eb3b1dd60c45528cc0571f48d2317b5 100644 --- a/src/Compilers/CSharp/Portable/Compilation/CSharpSemanticModel.cs +++ b/src/Compilers/CSharp/Portable/Compilation/CSharpSemanticModel.cs @@ -2217,8 +2217,6 @@ private static bool IsUserDefinedTrueOrFalse(BoundUnaryOperator @operator) type = cond.NaturalTypeOpt; convertedType = cond.Type; convertedNullability = nullability; - // PROTOTYPE(ngafter): Should we preserve the set of conversions? - // By now they have been pushed into the subexpressions. conversion = Conversion.MakeConditionalExpression(ImmutableArray.Empty); } else diff --git a/src/Compilers/CSharp/Test/IOperation/IOperation/IOperationTests_IThrowOperation.cs b/src/Compilers/CSharp/Test/IOperation/IOperation/IOperationTests_IThrowOperation.cs index 9765559492b024836e74ba235bf6903758dc0590..31d5fa6afd6789b103c902e846c45a5266f3ce63 100644 --- a/src/Compilers/CSharp/Test/IOperation/IOperation/IOperationTests_IThrowOperation.cs +++ b/src/Compilers/CSharp/Test/IOperation/IOperation/IOperationTests_IThrowOperation.cs @@ -2200,7 +2200,6 @@ void F(bool x, bool y, System.Exception ex1, System.Exception ex2) "; VerifyOperationTreeForTest(compilation, expectedOperationTree); - // PROTOTYPE(ngafter): Investigate the tree in block B4 (syntax for the operand of the conversion) string expectedGraph = @" Block[B0] - Entry Statements (0) @@ -2293,7 +2292,6 @@ void F(bool x, bool y, System.Exception ex1, System.Exception ex2) "; VerifyOperationTreeForTest(compilation, expectedOperationTree); - // PROTOTYPE(ngafter): Investigate the tree in block B4. The conversion should be an identity conversion on the whole conditional. string expectedGraph = @" Block[B0] - Entry Statements (0)