Skip to content

Commit

Permalink
Merge pull request #53129 from dotnet/merges/release/dev16.11-vs-deps…
Browse files Browse the repository at this point in the history
…-to-main-vs-deps

Merge release/dev16.11-vs-deps to main-vs-deps
  • Loading branch information
Cosifne authored May 4, 2021
2 parents 28bd07c + 2aa79fa commit 5b2aebf
Show file tree
Hide file tree
Showing 2 changed files with 453 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@
#nullable disable

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using Microsoft.CodeAnalysis.Collections;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.PooledObjects;
using Microsoft.CodeAnalysis.Operations;
using Roslyn.Utilities;

namespace Microsoft.CodeAnalysis.CSharp
Expand Down Expand Up @@ -274,7 +270,7 @@ private BoundStatement UpdateStatement(BoundSpillSequenceBuilder builder, BoundS
builder.AddStatement(statement);
}

var result = _F.Block(builder.GetLocals(), builder.GetStatements());
var result = new BoundBlock(statement.Syntax, builder.GetLocals(), builder.GetStatements()) { WasCompilerGenerated = true };

builder.Free();
return result;
Expand Down
Loading

0 comments on commit 5b2aebf

Please sign in to comment.