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
12 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.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\InteropServices\SpecifyMarshalingForPInvokeStringArguments.Fixer.cs (1)
84SyntaxNode newCharSetArgument = generator.AttributeArgument(CharSetText, argumentValue);
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)
478argumentsToAdd.Add(generator.AttributeArgument( 487argumentsToAdd.Add(generator.AttributeArgument( 492argumentsToAdd.Add(generator.AttributeArgument( 564argumentsToAdd.Add(generator.AttributeArgument("EntryPoint", 645generator.AttributeArgument("CallConvs", argumentValue));