3 instantiations of Argument
Microsoft.CodeAnalysis.CSharp.Features (2)
GenerateConstructor\CSharpGenerateConstructorService.cs (2)
73=> arguments.SelectAsArray(a => new Argument(a.GetRefKind(), a.NameColon?.Name.Identifier.ValueText, a.Expression)); 76=> arguments.SelectAsArray(a => new Argument(
Microsoft.CodeAnalysis.VisualBasic.Features (1)
GenerateConstructor\VisualBasicGenerateConstructorService.vb (1)
162Return arguments.SelectAsArray(Function(a) New Argument(RefKind.None, TryCast(a, SimpleArgumentSyntax)?.NameColonEquals?.Name.Identifier.ValueText, a.GetArgumentExpression()))
25 references to Argument
Microsoft.CodeAnalysis.CSharp.Features (7)
GenerateConstructor\CSharpGenerateConstructorService.cs (7)
48out ImmutableArray<Argument> arguments, 72private static ImmutableArray<Argument> GetArguments(SeparatedSyntaxList<ArgumentSyntax> arguments) 75private static ImmutableArray<Argument> GetArguments(SeparatedSyntaxList<AttributeArgumentSyntax> arguments) 86out ImmutableArray<Argument> arguments, 118out ImmutableArray<Argument> arguments, 153out ImmutableArray<Argument> arguments, 179protected override ITypeSymbol GetArgumentType(SemanticModel semanticModel, Argument argument, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.Features (12)
GenerateMember\GenerateConstructor\AbstractGenerateConstructorService.cs (7)
34protected abstract bool TryInitializeImplicitObjectCreation(SemanticDocument document, SyntaxNode node, CancellationToken cancellationToken, out SyntaxToken token, out ImmutableArray<Argument> arguments, out INamedTypeSymbol typeToGenerateIn); 35protected abstract bool TryInitializeSimpleNameGenerationState(SemanticDocument document, SyntaxNode simpleName, CancellationToken cancellationToken, out SyntaxToken token, out ImmutableArray<Argument> arguments, out INamedTypeSymbol typeToGenerateIn); 36protected abstract bool TryInitializeConstructorInitializerGeneration(SemanticDocument document, SyntaxNode constructorInitializer, CancellationToken cancellationToken, out SyntaxToken token, out ImmutableArray<Argument> arguments, out INamedTypeSymbol typeToGenerateIn); 37protected abstract bool TryInitializeSimpleAttributeNameGenerationState(SemanticDocument document, SyntaxNode simpleName, CancellationToken cancellationToken, out SyntaxToken token, out ImmutableArray<Argument> arguments, out INamedTypeSymbol typeToGenerateIn); 39protected abstract ITypeSymbol GetArgumentType(SemanticModel semanticModel, Argument argument, CancellationToken cancellationToken); 158protected string GenerateNameForArgument(SemanticModel semanticModel, Argument argument, CancellationToken cancellationToken) 172SemanticDocument document, IEnumerable<Argument> arguments, IList<string> reservedNames, NamingRule parameterNamingRule, CancellationToken cancellationToken)
GenerateMember\GenerateConstructor\AbstractGenerateConstructorService.State.cs (5)
39private ImmutableArray<Argument> _arguments; 142ImmutableArray<Argument> arguments, ImmutableArray<string> typeParametersNames, CancellationToken cancellationToken) 404ImmutableArray<Argument> arguments, 419var argument = arguments[i]; 444Argument argument,
Microsoft.CodeAnalysis.VisualBasic.Features (6)
GenerateConstructor\VisualBasicGenerateConstructorService.vb (6)
29Protected Overrides Function TryInitializeImplicitObjectCreation(document As SemanticDocument, node As SyntaxNode, cancellationToken As CancellationToken, ByRef token As SyntaxToken, ByRef arguments As ImmutableArray(Of Argument), ByRef typeToGenerateIn As INamedTypeSymbol) As Boolean 46argument As Argument, 62ByRef arguments As ImmutableArray(Of Argument), 97ByRef arguments As ImmutableArray(Of Argument), 132ByRef arguments As ImmutableArray(Of Argument), 161Private Shared Function GetArguments(arguments As SeparatedSyntaxList(Of ArgumentSyntax)) As ImmutableArray(Of Argument)