1 implementation of IArgumentOperation
Microsoft.CodeAnalysis (1)
170 references to IArgumentOperation
Microsoft.CodeAnalysis (69)
Generated\Operations.Generated.cs (18)
621ImmutableArray<IArgumentOperation> Arguments { get; }
741ImmutableArray<IArgumentOperation> Arguments { get; }
936ImmutableArray<IArgumentOperation> Arguments { get; }
1200ImmutableArray<IArgumentOperation> Arguments { get; }
3488ImmutableArray<IArgumentOperation> Arguments { get; }
4637internal RaiseEventOperation(IEventReferenceOperation eventReference, ImmutableArray<IArgumentOperation> arguments, SemanticModel? semanticModel, SyntaxNode syntax, bool isImplicit)
4644public ImmutableArray<IArgumentOperation> Arguments { get; }
4781internal InvocationOperation(IMethodSymbol targetMethod, ITypeSymbol? constrainedToType, IOperation? instance, bool isVirtual, ImmutableArray<IArgumentOperation> arguments, SemanticModel? semanticModel, SyntaxNode syntax, ITypeSymbol? type, bool isImplicit)
4795public ImmutableArray<IArgumentOperation> Arguments { get; }
5083internal PropertyReferenceOperation(IPropertySymbol property, ITypeSymbol? constrainedToType, ImmutableArray<IArgumentOperation> arguments, IOperation? instance, SemanticModel? semanticModel, SyntaxNode syntax, ITypeSymbol? type, bool isImplicit)
5093public ImmutableArray<IArgumentOperation> Arguments { get; }
5544internal ObjectCreationOperation(IMethodSymbol? constructor, IObjectOrCollectionInitializerOperation? initializer, ImmutableArray<IArgumentOperation> arguments, SemanticModel? semanticModel, SyntaxNode syntax, ITypeSymbol? type, ConstantValue? constantValue, bool isImplicit)
5555public ImmutableArray<IArgumentOperation> Arguments { get; }
9917internal FunctionPointerInvocationOperation(IOperation target, ImmutableArray<IArgumentOperation> arguments, SemanticModel? semanticModel, SyntaxNode syntax, ITypeSymbol? type, bool isImplicit)
9925public ImmutableArray<IArgumentOperation> Arguments { get; }
10606public override IOperation VisitArgument(IArgumentOperation operation, object? argument)
10928public virtual void VisitArgument(IArgumentOperation operation) => DefaultVisit(operation);
11064public virtual TResult? VisitArgument(IArgumentOperation operation, TArgument argument) => DefaultVisit(operation, argument);
Operations\ControlFlowGraphBuilder.cs (40)
2029private ImmutableArray<IArgumentOperation> VisitArguments(ImmutableArray<IArgumentOperation> arguments, bool instancePushed)
2037private void VisitAndPushArguments(ImmutableArray<IArgumentOperation> arguments, bool instancePushed)
2084private IArgumentOperation RewriteArgumentFromArray(IOperation visitedArgument, int index, ImmutableArray<IArgumentOperation> args)
3327ImmutableArray<IArgumentOperation>.Empty, semanticModel: null, value.Syntax,
3938private void HandleUsingOperationParts(IOperation resources, IOperation body, IMethodSymbol? disposeMethod, ImmutableArray<IArgumentOperation> disposeArguments, ImmutableArray<ILocalSymbol> locals, bool isAsynchronous)
4092private void AddDisposingFinally(IOperation resource, bool requiresRuntimeConversion, ITypeSymbol iDisposable, IMethodSymbol? disposeMethod, ImmutableArray<IArgumentOperation> disposeArguments, bool isAsynchronous)
4147ImmutableArray<IArgumentOperation> args;
4156args = ImmutableArray<IArgumentOperation>.Empty;
4262ImmutableArray.Create<IArgumentOperation>(
4290ImmutableArray.Create<IArgumentOperation>(
4345ImmutableArray.Create<IArgumentOperation>(
4598InvocationOperation makeInvocationDroppingInstanceForStaticMethods(IMethodSymbol method, IOperation instance, ImmutableArray<IArgumentOperation> arguments)
4603InvocationOperation makeInvocation(SyntaxNode syntax, IMethodSymbol method, IOperation? instanceOpt, ImmutableArray<IArgumentOperation> arguments)
4613ImmutableArray<IArgumentOperation> makeArguments(ImmutableArray<IArgumentOperation> arguments, ref IOperation? instance)
4628return ImmutableArray<IArgumentOperation>.Empty;
4709var builder = ArrayBuilder<IArgumentOperation>.GetInstance(parametersCount, fillWithValue: null!);
5834(IOperation? visitedInstance, ImmutableArray<IArgumentOperation> visitedArguments) = VisitInstanceWithArguments(instance, operation.Arguments);
5849(IOperation visitedInstance, ImmutableArray<IArgumentOperation> visitedArguments) handlePointerAndArguments(
5850IOperation targetPointer, ImmutableArray<IArgumentOperation> arguments)
5854ImmutableArray<IArgumentOperation> visitedArguments = VisitArguments(arguments, instancePushed: false);
5861private (IOperation? visitedInstance, ImmutableArray<IArgumentOperation> visitedArguments) VisitInstanceWithArguments(IOperation? instance, ImmutableArray<IArgumentOperation> arguments)
5869ImmutableArray<IArgumentOperation> visitedArguments = VisitArguments(arguments, instancePushed: hasInstance);
5887ImmutableArray<IArgumentOperation> visitedArgs = VisitArguments(operation.Arguments, instancePushed: false);
6130ImmutableArray<IArgumentOperation> propertyArguments = PopArray(propertyReference.Arguments, RewriteArgumentFromArray);
6201IOperation visitedTarget = new PropertyReferenceOperation(propertyReference.Property, propertyReference.ConstrainedToType, ImmutableArray<IArgumentOperation>.Empty, visitedPropertyInstance,
6576IArgumentOperation? outParameterArgument = null;
6923(IOperation? visitedInstance, ImmutableArray<IArgumentOperation> visitedArguments) = VisitInstanceWithArguments(instance, operation.Arguments);
7005ImmutableArray<IArgumentOperation> arguments;
7009var builder = ArrayBuilder<IArgumentOperation>.GetInstance(propertySymbol.Parameters.Length);
7025arguments = ImmutableArray<IArgumentOperation>.Empty;
7113(IOperation? visitedInstance, ImmutableArray<IArgumentOperation> visitedArguments) =
7531matchFailureCtor, initializer: null, ImmutableArray<IArgumentOperation>.Empty, semanticModel: null, operation.Syntax,
7639public override IOperation VisitArgument(IArgumentOperation operation, int? captureIdForResult)
7669isVirtual: true, arguments: ImmutableArray<IArgumentOperation>.Empty,
7771var visitedValue = new PropertyReferenceOperation(property, constrainedToType: null, ImmutableArray<IArgumentOperation>.Empty, oldInstance,
7797var target = new PropertyReferenceOperation(property, constrainedToType: null, ImmutableArray<IArgumentOperation>.Empty, implicitReceiver,
Microsoft.CodeAnalysis.CodeStyle (4)
Microsoft.CodeAnalysis.CSharp (24)
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (5)
Microsoft.CodeAnalysis.CSharp.Features (6)
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Microsoft.CodeAnalysis.Features (12)
Microsoft.CodeAnalysis.Test.Utilities (18)
Microsoft.CodeAnalysis.VisualBasic (23)
Operations\VisualBasicOperationFactory_Methods.vb (10)
169Friend Function DeriveArguments(boundNode As BoundNode) As ImmutableArray(Of IArgumentOperation)
177Return ImmutableArray(Of IArgumentOperation).Empty
179Return If(boundCreation.ConstructorOpt Is Nothing, ImmutableArray(Of IArgumentOperation).Empty, DeriveArguments(boundCreation.Arguments, boundCreation.ConstructorOpt.Parameters, boundCreation.DefaultArguments))
182Return If(boundProperty.Arguments.Length = 0, ImmutableArray(Of IArgumentOperation).Empty, DeriveArguments(boundProperty.Arguments, boundProperty.PropertySymbol.Parameters, boundProperty.DefaultArguments))
194Friend Function DeriveArguments(boundArguments As ImmutableArray(Of BoundExpression), parameters As ImmutableArray(Of VisualBasic.Symbols.ParameterSymbol), ByRef defaultArguments As BitVector) As ImmutableArray(Of IArgumentOperation)
198Dim arguments As ArrayBuilder(Of IArgumentOperation) = ArrayBuilder(Of IArgumentOperation).GetInstance(argumentsLength)
211) As IArgumentOperation
253isImplicit As Boolean) As IArgumentOperation
333ImmutableArray(Of IArgumentOperation).Empty,
Microsoft.CodeAnalysis.Workspaces (2)