26 references to AttributeArgument
Microsoft.CodeAnalysis.CSharp (2)
_generated\0\Syntax.xml.Main.Generated.cs (1)
4942=> SyntaxFactory.AttributeArgument(default, default, expression);
_generated\2\Syntax.xml.Syntax.Generated.cs (1)
10094var newNode = SyntaxFactory.AttributeArgument(nameEquals, nameColon, expression);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\AttributeGenerator.cs (1)
91arguments.Add(AttributeArgument(
Microsoft.CodeAnalysis.CSharp.Features (3)
CodeFixes\Suppression\CSharpSuppressionCodeFixProvider.cs (3)
189var justificationArgument = AttributeArgument(NameEquals("Justification"), nameColon: null, expression: justificationExpr); 199var scopeArgument = AttributeArgument(NameEquals("Scope"), nameColon: null, expression: scopeExpr); 203var targetArgument = AttributeArgument(NameEquals("Target"), nameColon: null, expression: targetExpr);
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
CodeGeneration\CSharpSyntaxGenerator.cs (2)
946? SyntaxFactory.AttributeArgument(SyntaxFactory.NameEquals(name.ToIdentifierName()), nameColon: null, (ExpressionSyntax)expression) 962return SyntaxFactory.AttributeArgument(null, arg.NameColon, arg.Expression);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\AttributeGenerator.cs (1)
91arguments.Add(AttributeArgument(
Microsoft.Interop.LibraryImportGenerator (7)
LibraryImportGenerator.cs (7)
383AttributeArgument( 389AttributeArgument( 401dllImportArgs.Add(AttributeArgument( 436AttributeArgument( 440AttributeArgument( 451newAttributeArgs.Add(AttributeArgument(name, null, value)); 458newAttributeArgs.Add(AttributeArgument(name, null, value));
Microsoft.Interop.LibraryImportGenerator.Downlevel (7)
DownlevelLibraryImportGenerator.cs (7)
328AttributeArgument( 334AttributeArgument( 346dllImportArgs.Add(AttributeArgument( 381AttributeArgument( 385AttributeArgument( 396newAttributeArgs.Add(AttributeArgument(name, null, value)); 403newAttributeArgs.Add(AttributeArgument(name, null, value));
Microsoft.Interop.SourceGeneration (2)
MarshalAsParser.cs (2)
99AttributeArgument(NameEquals("SizeConst"), null, 107AttributeArgument(NameEquals("SizeParamIndex"), null,
Roslyn.Diagnostics.CSharp.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\AttributeGenerator.cs (1)
91arguments.Add(AttributeArgument(