Files
2026-08-27 10:56:38 -06:00

22 lines
682 B
C#

using System.Collections.Immutable;
namespace Microsoft.CodeAnalysis.CSharp;
internal readonly struct DeconstructMethodInfo
{
internal readonly BoundExpression Invocation;
internal readonly BoundDeconstructValuePlaceholder InputPlaceholder;
internal readonly ImmutableArray<BoundDeconstructValuePlaceholder> OutputPlaceholders;
internal bool IsDefault => Invocation == null;
internal DeconstructMethodInfo(BoundExpression invocation, BoundDeconstructValuePlaceholder inputPlaceholder, ImmutableArray<BoundDeconstructValuePlaceholder> outputPlaceholders)
{
Invocation = invocation;
InputPlaceholder = inputPlaceholder;
OutputPlaceholders = outputPlaceholders;
}
}