// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
usingMicrosoft.CodeAnalysis.CSharp.Syntax;
usingMicrosoft.CodeAnalysis.Test.Utilities;
...
...
@@ -431,5 +431,195 @@ void M(int a, int b, int c, int d, int e, int f, int g, int h, int i, int j, int
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
usingSystem.Collections.Immutable;
usingMicrosoft.CodeAnalysis.PooledObjects;
namespaceMicrosoft.CodeAnalysis.Operations
{
/// <summary>
/// PROTOTYPE(dataflow): Add documentation
/// </summary>
publicenumBasicBlockKind
{
Entry,
Exit,
Block
}
/// <summary>
/// PROTOTYPE(dataflow): Add documentation
/// PROTOTYPE(dataflow): We need to figure out how to split it into a builder and
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespaceMicrosoft.CodeAnalysis.Operations
{
/// <summary>
/// Represents that an intermediate result is being captured, or the result of capturing is used later on.
/// PROTOTYPE(dataflow): Finalize the design how capturing/referencing intermediate results is represented.
/// </summary>
publicinterfaceIFlowCaptureOperation:IOperation
{
/// <summary>
/// An id used to match references to the same intermediate result.
/// </summary>
intId{get;}
/// <summary>
/// If this is a place where the intermediate result is captured (vs. used), then