27 references to AttributeArgument
Microsoft.CodeAnalysis.CSharp (2)
_generated\0\Syntax.xml.Main.Generated.cs (1)
4993=> SyntaxFactory.AttributeArgument(default, default, expression);
_generated\2\Syntax.xml.Syntax.Generated.cs (1)
10188var 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)
396AttributeArgument( 402AttributeArgument( 414dllImportArgs.Add(AttributeArgument( 449AttributeArgument( 453AttributeArgument( 464newAttributeArgs.Add(AttributeArgument(name, null, value)); 471newAttributeArgs.Add(AttributeArgument(name, null, value));
Microsoft.Interop.LibraryImportGenerator.Downlevel (7)
DownlevelLibraryImportGenerator.cs (7)
330AttributeArgument( 336AttributeArgument( 348dllImportArgs.Add(AttributeArgument( 383AttributeArgument( 387AttributeArgument( 398newAttributeArgs.Add(AttributeArgument(name, null, value)); 405newAttributeArgs.Add(AttributeArgument(name, null, value));
Microsoft.Interop.SourceGeneration (3)
MarshalAsParser.cs (3)
84AttributeArgument(NameEquals(nameof(MarshalAsAttribute.IidParameterIndex)), null, 132AttributeArgument(NameEquals("SizeConst"), null, 140AttributeArgument(NameEquals("SizeParamIndex"), null,
Roslyn.Diagnostics.CSharp.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\AttributeGenerator.cs (1)
91arguments.Add(AttributeArgument(