Skip to main content

CSharpFactory.AttributeArgument Method

Containing Type: CSharpFactory

Assembly: Roslynator.CSharp.dll

Overloads

MethodSummary
AttributeArgument(NameColonSyntax, ExpressionSyntax)
AttributeArgument(NameEqualsSyntax, ExpressionSyntax)

AttributeArgument(NameColonSyntax, ExpressionSyntax)

public static Microsoft.CodeAnalysis.CSharp.Syntax.AttributeArgumentSyntax AttributeArgument(Microsoft.CodeAnalysis.CSharp.Syntax.NameColonSyntax nameColon, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression)

Parameters

nameColon NameColonSyntax

expression ExpressionSyntax

Returns

AttributeArgumentSyntax

AttributeArgument(NameEqualsSyntax, ExpressionSyntax)

public static Microsoft.CodeAnalysis.CSharp.Syntax.AttributeArgumentSyntax AttributeArgument(Microsoft.CodeAnalysis.CSharp.Syntax.NameEqualsSyntax nameEquals, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression)

Parameters

nameEquals NameEqualsSyntax

expression ExpressionSyntax

Returns

AttributeArgumentSyntax