// 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.Semantics
{
///
/// Represents a C# or VB method invocation.
///
///
/// This interface is reserved for implementation by its associated APIs. We reserve the right to
/// change it in the future.
///
public interface IInvocationExpression : IHasArgumentsExpression
{
///
/// Method to be invoked.
///
IMethodSymbol TargetMethod { get; }
///
/// 'This' or 'Me' instance to be supplied to the method, or null if the method is static.
///
IOperation Instance { get; }
///
/// True if the invocation uses a virtual mechanism, and false otherwise.
///
bool IsVirtual { get; }
}
}