16 references to Argument
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\MakeLocalFunctionStatic\MakeLocalFunctionStaticCodeFixHelper.cs (1)
111newArgumentsList = newArgumentsList.Insert(0, (ArgumentSyntax)generator.Argument(generator.ThisExpression()));
Microsoft.CodeAnalysis.CSharp.Features (3)
InitializeParameter\CSharpInitializeMemberFromParameterCodeRefactoringProvider.cs (2)
86var left = (ArgumentSyntax)generator.Argument(generator.MemberAccessExpression(generator.ThisExpression(), generator.IdentifierName(fieldOrProperty.Name))); 87var right = (ArgumentSyntax)generator.Argument(generator.IdentifierName(parameter.Name));
src\Analyzers\CSharp\CodeFixes\MakeLocalFunctionStatic\MakeLocalFunctionStaticCodeFixHelper.cs (1)
111newArgumentsList = newArgumentsList.Insert(0, (ArgumentSyntax)generator.Argument(generator.ThisExpression()));
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.cs (1)
466VerifySyntax<InvocationExpressionSyntax>(Generator.InvocationExpression(Generator.IdentifierName("x"), Generator.Argument(Generator.IdentifierName("y"))), "x(y)");
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (4)
CodeGeneration\ExpressionGenerationTests.cs (3)
344f.Argument(f.IdentifierName("T")))), 369f.Argument(f.IdentifierName("a"))), 435f.Argument(f.IdentifierName("a"))),
CodeGeneration\ExpressionPrecedenceGenerationTests.cs (1)
253f.Argument(f.IdentifierName("M"))),
Microsoft.CodeAnalysis.Features (5)
ConvertTupleToStruct\AbstractConvertTupleToStructCodeRefactoringProvider.cs (1)
887field => generator.Argument(
InitializeParameter\AbstractAddParameterCheckCodeRefactoringProvider.cs (1)
399generator.Argument(generator.IdentifierName(parameter.Name)));
IntroduceParameter\IntroduceParameterDocumentRewriter.cs (2)
426arguments = arguments.Insert(insertionIndex, generator.Argument(_expression.WithoutTrivia())); 577: (TArgumentSyntax)_generator.Argument(newArgumentExpression);
ReplacePropertyWithMethods\AbstractReplacePropertyWithMethodsService.cs (1)
421argument: Generator.Argument(writeValue),
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.vb (1)
425VerifySyntax(Of InvocationExpressionSyntax)(Generator.InvocationExpression(Generator.IdentifierName("x"), Generator.Argument(Generator.IdentifierName("y"))), "x(y)")
System.Text.RegularExpressions.Generator (1)
UpgradeToGeneratedRegexCodeFixer.cs (1)
297return generator.Argument(fieldReferenceOperation.Syntax);