32 references to Parameter
Microsoft.AspNetCore.App.CodeFixes (1)
RouteParameterUnusedParameterFixer.cs (1)
89var newParameter = SyntaxFactory.Parameter(SyntaxFactory.Identifier(routeParameterName!)).WithType(type);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\Analyzers\CSharp\CodeFixes\MakeLocalFunctionStatic\MakeLocalFunctionStaticCodeFixHelper.cs (1)
185parameterList, parameterList.WithParameters(parameters.Insert(0, Parameter(Identifier("@this")).WithType(thisParameter.Type.GenerateTypeSyntax()))));
src\Analyzers\CSharp\CodeFixes\UseLocalFunction\CSharpUseLocalFunctionCodeFixProvider.cs (1)
248PromoteParameter(Parameter(parameter.Name.ToIdentifierToken()), parameter))]);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ParameterGenerator.cs (1)
67return Parameter(parameter.Name.ToIdentifierToken())
Microsoft.CodeAnalysis.CSharp.Features (3)
ConvertLinq\ConvertForEachToLinqQuery\AbstractConverter.cs (2)
272var lambdaParameter = Parameter(Identifier(parentForEachStatement.Identifier.ValueText)); 274Parameter(
src\Analyzers\CSharp\CodeFixes\MakeLocalFunctionStatic\MakeLocalFunctionStaticCodeFixHelper.cs (1)
185parameterList, parameterList.WithParameters(parameters.Insert(0, Parameter(Identifier("@this")).WithType(thisParameter.Type.GenerateTypeSyntax()))));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Syntax\SeparatedSyntaxListTests.cs (2)
22var node1 = SyntaxFactory.Parameter(SyntaxFactory.Identifier("a")); 23var node2 = SyntaxFactory.Parameter(SyntaxFactory.Identifier("b"));
Syntax\SyntaxNodeOrTokenListTests.cs (2)
21var node1 = SyntaxFactory.Parameter(SyntaxFactory.Identifier("a")); 22var node2 = SyntaxFactory.Parameter(SyntaxFactory.Identifier("b"));
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ParameterGenerator.cs (1)
67return Parameter(parameter.Name.ToIdentifierToken())
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (5)
CodeGeneration\SyntaxGeneratorTests.cs (5)
1273Parameter( 1278Parameter( 1323[Parameter( 1408[Parameter( 1434[Parameter(
Microsoft.Interop.ComInterfaceGenerator (2)
ComClassGenerator.cs (1)
194Parameter(Identifier(countIdentifier))
VtableIndexStubGenerator.cs (1)
445Parameter(Identifier(vtableParameter))
Microsoft.Interop.JavaScript.JSImportGenerator (9)
JSExportGenerator.cs (1)
149Parameter(Identifier(Constants.ArgumentsBuffer)).WithType(PointerType(ParseTypeName(Constants.JSMarshalerArgumentGlobal))))))
Marshaling\FuncJSGenerator.cs (4)
96Parameter(Identifier("__delegate_arg_arg"+(i+1))) 99Parameter(Identifier("__delegate_arg"+(i+1))) 111Parameter(Identifier("__delegate_arg_arg"+(i+1))) 114Parameter(Identifier("__delegate_arg"+(i+1)))
Marshaling\TaskJSGenerator.cs (4)
77Parameter(Identifier("__task_result_arg")) 80Parameter(Identifier("__task_result")) 100Parameter(Identifier("__task_result_arg")) 103Parameter(Identifier("__task_result"))
Microsoft.Interop.SourceGeneration (3)
Marshalling\MarshallingGeneratorExtensions.cs (2)
95return Parameter(Identifier(identifierName)) 106ParameterSyntax param = Parameter(Identifier(identifier))
SignatureContext.cs (1)
45yield return Parameter(Identifier(typeInfo.InstanceIdentifier))
Microsoft.VisualStudio.LanguageServices.CSharp (1)
CodeModel\CSharpCodeModelService.cs (1)
1808=> SyntaxFactory.Parameter(SyntaxFactory.Identifier(name)).WithType(SyntaxFactory.ParseTypeName(type));