16 references to Argument
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\MakeLocalFunctionStatic\MakeLocalFunctionStaticCodeFixHelper.cs (1)
111
newArgumentsList = newArgumentsList.Insert(0, (ArgumentSyntax)generator.
Argument
(generator.ThisExpression()));
Microsoft.CodeAnalysis.CSharp.Features (3)
InitializeParameter\CSharpInitializeMemberFromParameterCodeRefactoringProvider.cs (2)
86
var left = (ArgumentSyntax)generator.
Argument
(generator.MemberAccessExpression(generator.ThisExpression(), generator.IdentifierName(fieldOrProperty.Name)));
87
var right = (ArgumentSyntax)generator.
Argument
(generator.IdentifierName(parameter.Name));
src\Analyzers\CSharp\CodeFixes\MakeLocalFunctionStatic\MakeLocalFunctionStaticCodeFixHelper.cs (1)
111
newArgumentsList = newArgumentsList.Insert(0, (ArgumentSyntax)generator.
Argument
(generator.ThisExpression()));
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 (5)
ConvertTupleToStruct\AbstractConvertTupleToStructCodeRefactoringProvider.cs (1)
887
field => generator.
Argument
(
InitializeParameter\AbstractAddParameterCheckCodeRefactoringProvider.cs (1)
399
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);