19 references to Argument
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\Analyzers\CSharp\CodeFixes\MakeLocalFunctionStatic\MakeLocalFunctionStaticCodeFixHelper.cs (1)
111newArgumentsList = newArgumentsList.Insert(0, (ArgumentSyntax)generator.Argument(generator.ThisExpression()));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\InitializeParameter\CSharpInitializeParameterService.cs (2)
62var left = (ArgumentSyntax)generator.Argument(generator.MemberAccessExpression(generator.ThisExpression(), generator.IdentifierName(fieldOrProperty.Name))); 63var right = (ArgumentSyntax)generator.Argument(generator.IdentifierName(parameter.Name));
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\CodeFixes\MakeLocalFunctionStatic\MakeLocalFunctionStaticCodeFixHelper.cs (1)
111newArgumentsList = newArgumentsList.Insert(0, (ArgumentSyntax)generator.Argument(generator.ThisExpression()));
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\InitializeParameter\CSharpInitializeParameterService.cs (2)
62var left = (ArgumentSyntax)generator.Argument(generator.MemberAccessExpression(generator.ThisExpression(), generator.IdentifierName(fieldOrProperty.Name))); 63var right = (ArgumentSyntax)generator.Argument(generator.IdentifierName(parameter.Name));
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 (6)
ConvertTupleToStruct\AbstractConvertTupleToStructCodeRefactoringProvider.cs (1)
887field => generator.Argument(
ExtractMethod\MethodExtractor.CodeGenerator.cs (1)
288(TExpressionSyntax)generator.TupleExpression(expressions.Select(generator.Argument));
InitializeParameter\AbstractAddParameterCheckCodeRefactoringProvider.cs (1)
401generator.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);