2 overrides of AttributeArgument
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
943public override SyntaxNode AttributeArgument(string? name, SyntaxNode expression)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
CodeGeneration\VisualBasicSyntaxGenerator.vb (1)
1456Public Overrides Function AttributeArgument(name As String, expression As SyntaxNode) As SyntaxNode
11 references to AttributeArgument
ILLink.CodeFixProvider (1)
UnconditionalSuppressMessageCodeFixProvider.cs (1)
55var suppressionJustification = syntaxGenerator.AttributeArgument(Justification,
Microsoft.CodeAnalysis.Features (1)
ChangeSignature\AbstractChangeSignatureService.cs (1)
827? (TArgumentSyntax)Generator.AttributeArgument(
Microsoft.CodeAnalysis.Workspaces (2)
Editing\SyntaxGenerator.cs (2)
1078.Concat(attribute.NamedArguments.Select(n => this.AttributeArgument(n.Key, this.TypedConstantExpression(n.Value)))) 1095=> AttributeArgument(name: null, expression);
Microsoft.Interop.ComInterfaceGenerator (2)
Analyzers\ConvertComImportToGeneratedComInterfaceFixer.cs (2)
90gen.AttributeArgument("StringMarshalling", gen.MemberAccessExpression(gen.DottedName(TypeNames.StringMarshalling), gen.IdentifierName(nameof(StringMarshalling.Custom)))), 91gen.AttributeArgument("StringMarshallingCustomType", gen.TypeOfExpression(gen.TypeExpression(comp.GetTypeByMetadataName(TypeNames.BStrStringMarshaller))))
Microsoft.Interop.LibraryImportGenerator (5)
Analyzers\ConvertToLibraryImportFixer.cs (5)
469argumentsToAdd.Add(generator.AttributeArgument( 478argumentsToAdd.Add(generator.AttributeArgument( 483argumentsToAdd.Add(generator.AttributeArgument( 555argumentsToAdd.Add(generator.AttributeArgument("EntryPoint", 636generator.AttributeArgument("CallConvs", argumentValue));