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