// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.CodeAnalysis.Operations
{
///
/// Represents an element of a property subpattern, which identifies a member to be matched and the
/// pattern to match it against.
///
///
/// This interface is reserved for implementation by its associated APIs. We reserve the right to
/// change it in the future.
///
internal interface IPropertySubpatternOperation : IOperation
{
///
/// The member being matched in a property subpattern. This can be a
/// in non-error cases, or an in error cases.
///
// The symbol should be exposed for error cases somehow:
// https://github.com/dotnet/roslyn/issues/33175
IOperation Member { get; }
///
/// The pattern to which the member is matched in a property subpattern.
///
IPatternOperation Pattern { get; }
}
}