public static DelegateDeclarationSyntax AddAttribute(this DelegateDeclarationSyntax @this, String @name) { return @this.AddAttributeLists( SyntaxFactory.AttributeList() .AddAttribute(@name)); }
public static DelegateDeclarationSyntax AddAttribute(this DelegateDeclarationSyntax @this, String @name, String @argumentName, String @expression) { return @this.AddAttributeLists( SyntaxFactory.AttributeList() .AddAttribute(@name, @argumentName, @expression)); }
public static EnumDeclarationSyntax AddAttribute(this EnumDeclarationSyntax @this, String @name) { return @this.AddAttributeLists( Microsoft.CodeAnalysis.CSharp.SyntaxFactory.AttributeList() .AddAttribute(@name)); }
public static ConstructorDeclarationSyntax AddAttribute(this ConstructorDeclarationSyntax @this, String @name, String @expression) { return @this.AddAttributeLists( SyntaxFactory.AttributeList() .AddAttribute(@name, @expression)); }
public static PropertyDeclarationSyntax AddAttribute(this PropertyDeclarationSyntax @this, String @name) { return @this.AddAttributeLists( SyntaxFactory.AttributeList() .AddAttribute(@name)); }
public static EnumMemberDeclarationSyntax AddAttribute(this EnumMemberDeclarationSyntax @this, String @name) { return @this.AddAttributeLists( SyntaxFactory.AttributeList() .AddAttribute(@name)); }
public static ConversionOperatorDeclarationSyntax AddAttribute(this ConversionOperatorDeclarationSyntax @this, String @name) { return @this.AddAttributeLists( SyntaxFactory.AttributeList() .AddAttribute(@name)); }
public static ParameterSyntax AddAttribute(this ParameterSyntax @this, String @name, String @argumentName, String @expression) { return @this.AddAttributeLists( SyntaxFactory.AttributeList() .AddAttribute(@name, @argumentName, @expression)); }
public static ParameterSyntax AddAttribute(this ParameterSyntax @this, String @name) { return @this.AddAttributeLists( SyntaxFactory.AttributeList() .AddAttribute(@name)); }