|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
namespace Microsoft.CodeAnalysis.ExtractMethod
{
internal enum DeclarationBehavior
{
None,
Delete,
MoveIn,
MoveOut,
SplitIn,
SplitOut
}
internal enum ReturnBehavior
{
None,
Initialization,
Assignment
}
internal enum ParameterBehavior
{
None,
Input,
Out,
Ref
}
/// <summary>
/// status code for extract method operations
/// </summary>
[Flags]
internal enum OperationStatusFlag
{
None = 0x0,
/// <summary>
/// operation has succeeded
/// </summary>
Succeeded = 0x1,
/// <summary>
/// operation has succeeded with a span that is different than original span
/// </summary>
Suggestion = 0x2,
/// <summary>
/// operation has failed but can provide some best effort result
/// </summary>
BestEffort = 0x4,
}
}
|