33 references to AttributeArgument
Microsoft.AspNetCore.Mvc.Api.Analyzers (3)
AddResponseTypeAttributeCodeFixAction.cs (3)
211SyntaxFactory.AttributeArgument(statusCodeSyntax))); 226SyntaxFactory.AttributeArgument(responseTypeAttribute), 227SyntaxFactory.AttributeArgument(statusCodeSyntax)));
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\AttributeGenerator.cs (1)
88arguments.Add(AttributeArgument(GenerateAttributeSyntax(argument)));
Microsoft.CodeAnalysis.CSharp.Features (2)
CodeFixes\Suppression\CSharpSuppressionCodeFixProvider.cs (2)
181var categoryArgument = AttributeArgument(category); 186var ruleIdArgument = AttributeArgument(ruleId);
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
CodeGeneration\CSharpSyntaxGenerator.cs (2)
960: SyntaxFactory.AttributeArgument((ExpressionSyntax)expression); 970return SyntaxFactory.AttributeArgument(expr);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\AttributeGenerator.cs (1)
88arguments.Add(AttributeArgument(GenerateAttributeSyntax(argument)));
Microsoft.Interop.ComInterfaceGenerator (3)
AttributeInfo.cs (1)
19return Attribute((NameSyntax)Type.Syntax, AttributeArgumentList(SeparatedList(Arguments.Select(arg => AttributeArgument(ParseExpression(arg))))));
ComInterfaceGenerator.cs (1)
655AttributeArgument(
VirtualMethodPointerStubGenerator.cs (1)
157AttributeArgument(
Microsoft.Interop.JavaScript.JSImportGenerator (6)
JSExportGenerator.cs (6)
265AttributeArgument( 277AttributeArgument( 281AttributeArgument( 377AttributeArgument(LiteralExpression(SyntaxKind.StringLiteralExpression, Literal(wrapperName))), 378AttributeArgument(LiteralExpression(SyntaxKind.StringLiteralExpression, Literal(incrementalContext.SignatureContext.StubTypeFullName))), 379AttributeArgument(LiteralExpression(SyntaxKind.StringLiteralExpression, Literal(incrementalContext.SignatureContext.AssemblyName))),
Microsoft.Interop.LibraryImportGenerator (4)
LibraryImportGenerator.cs (4)
139AttributeArgument( 151AttributeArgument( 457AttributeArgument(LiteralExpression( 484AttributeArgument(LiteralExpression(
Microsoft.Interop.LibraryImportGenerator.Downlevel (3)
DownlevelLibraryImportGenerator.cs (3)
97AttributeArgument( 332AttributeArgument(LiteralExpression( 359AttributeArgument(LiteralExpression(
Microsoft.Interop.SourceGeneration (5)
MarshalAsParser.cs (3)
48AttributeArgument( 77AttributeArgument( 88AttributeArgument(CastExpression(TypeSyntaxes.System_Runtime_InteropServices_UnmanagedType,
SignatureContext.cs (2)
78AttributeArgument(LiteralExpression(SyntaxKind.StringLiteralExpression, Literal(generatorName))), 79AttributeArgument(LiteralExpression(SyntaxKind.StringLiteralExpression, Literal(generatorVersion)))
Microsoft.VisualStudio.LanguageServices.CSharp (1)
CodeModel\CSharpCodeModelService.cs (1)
1788return SyntaxFactory.AttributeArgument(SyntaxFactory.ParseExpression(value));
QuarantineTools.Tests (1)
QuarantineScriptTests.cs (1)
374SyntaxFactory.AttributeArgument(
Roslyn.Diagnostics.CSharp.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\AttributeGenerator.cs (1)
88arguments.Add(AttributeArgument(GenerateAttributeSyntax(argument)));