1 implementation of Arguments
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
5928public ImmutableArray<IArgumentOperation> Arguments { get; }
35 references to Arguments
ILLink.RoslynAnalyzer (2)
DataFlow\LocalDataFlowVisitor.cs (2)
707 return ProcessMethodCall (operation, operation.Constructor, null, operation.Arguments, state); 777 argumentOperation = callOperation.Arguments[argumentIndex];
Microsoft.Analyzers.Extra (1)
CallAnalysis\CallAnalyzer.Handlers.cs (1)
89if (op.Arguments.Length == op.Constructor.Parameters.Length)
Microsoft.Analyzers.Local (1)
CallAnalysis\CallAnalyzer.Handlers.cs (1)
89if (op.Arguments.Length == op.Constructor.Parameters.Length)
Microsoft.AspNetCore.Mvc.Api.Analyzers (1)
ActualApiResponseMetadataFactory.cs (1)
131var result = InspectMethodArguments(creation.Arguments);
Microsoft.CodeAnalysis (2)
Operations\ControlFlowGraphBuilder.cs (2)
5984ImmutableArray<IArgumentOperation> visitedArgs = VisitArguments(operation.Arguments, instancePushed: false); 6813var arguments = ((IObjectCreationOperation)operation.HandlerCreation).Arguments;
Microsoft.CodeAnalysis.Analyzers (6)
MetaAnalyzers\CompareSymbolsCorrectlyAnalyzer.cs (1)
268!objectCreation.Arguments.Any(arg => IsSymbolType(arg.Value, iEqualityComparerType)))
MetaAnalyzers\DiagnosticDescriptorCreationAnalyzer.cs (4)
530=> (objectCreation.Constructor, objectCreation.Arguments), 567objectCreation.Arguments.Length >= 3 && 568objectCreation.Arguments.GetArgumentForParameterAtIndex(0) is { } firstParamArgument && 572objectCreation.Arguments.GetArgumentForParameterAtIndex(2) is { } thirdParamArgument &&
MetaAnalyzers\Fixers\CompareSymbolsCorrectlyFix.cs (1)
96document, objectCreation.Syntax, objectCreation.Constructor, objectCreation.Arguments, isUsedAsExtensionMethod: false,
Microsoft.CodeAnalysis.AnalyzerUtilities (7)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\ParameterValidationAnalysis\ParameterValidationAnalysis.ParameterValidationDataFlowOperationVisitor.cs (1)
245ProcessRegularInvocationOrCreation(operation.Constructor, operation.Arguments, operation);
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\PropertySetAnalysis.PropertySetDataFlowOperationVisitor.cs (3)
162foreach (IArgumentOperation argumentOperation in operation.Arguments) 175foreach (IArgumentOperation argumentOperation in operation.Arguments) 196operation.Arguments,
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\TaintedDataAnalysis.TaintedDataOperationVisitor.cs (1)
251IEnumerable<IArgumentOperation> taintedArguments = GetTaintedArguments(operation.Arguments);
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\AbstractLocation.cs (1)
161IObjectCreationOperation objectCreation => objectCreation.Arguments,
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowOperationVisitor.cs (1)
3164operation.Arguments, operation, defaultValue, isLambdaOrLocalFunction: false, out _);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (1)
373Arguments: ImmutableArray<IArgumentOperation> { IsEmpty: true },
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (1)
373Arguments: ImmutableArray<IArgumentOperation> { IsEmpty: true },
Microsoft.CodeAnalysis.Features (1)
ValueTracking\ValueTracker.OperationCollector.cs (1)
102=> TrackArgumentsAsync(objectCreationOperation.Arguments, cancellationToken);
Microsoft.CodeAnalysis.Test.Utilities (5)
Compilation\ControlFlowGraphVerifier.cs (1)
910Arguments: { Length: >= 3 } arguments,
Compilation\OperationTreeVerifier.cs (1)
1447VisitArguments(operation.Arguments);
Compilation\TestOperationVisitor.cs (2)
1032Assert.Empty(operation.Arguments); 1036IEnumerable<IOperation> children = operation.Arguments;
Diagnostics\OperationTestAnalyzer.cs (1)
1129foreach (IArgumentOperation argument in creation.Arguments)
Microsoft.Interop.ComInterfaceGenerator (2)
Analyzers\ComHostingDoesNotSupportGeneratedComInterfaceAnalyzer.cs (1)
46|| ctor.Arguments[0].Value.ConstantValue.Value is not true)
src\libraries\System.Runtime.InteropServices\gen\Common\OperationExtensions.cs (1)
35foreach (IArgumentOperation argument in operation.Arguments)
Microsoft.Interop.LibraryImportGenerator (1)
src\libraries\System.Runtime.InteropServices\gen\Common\OperationExtensions.cs (1)
35foreach (IArgumentOperation argument in operation.Arguments)
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
src\libraries\System.Runtime.InteropServices\gen\Common\OperationExtensions.cs (1)
35foreach (IArgumentOperation argument in operation.Arguments)
System.Text.RegularExpressions.Generator (3)
UpgradeToGeneratedRegexAnalyzer.cs (2)
132if (operation.Arguments.Length > 2) 137if (!ValidateParameters(operation.Arguments))
UpgradeToGeneratedRegexCodeFixer.cs (1)
173operationArguments = ((IObjectCreationOperation)operation).Arguments;