Base:
property
AttributeLists
Microsoft.CodeAnalysis.CSharp.Syntax.BaseMethodDeclarationSyntax.AttributeLists
18 references to AttributeLists
Microsoft.CodeAnalysis.CSharp (12)
_generated\0\Syntax.xml.Main.Generated.cs (1)
2080
=> node.Update(VisitList(node.
AttributeLists
), VisitList(node.Modifiers), VisitToken(node.Identifier), (ParameterListSyntax?)Visit(node.ParameterList) ?? throw new ArgumentNullException("parameterList"), (ConstructorInitializerSyntax?)Visit(node.Initializer), (BlockSyntax?)Visit(node.Body), (ArrowExpressionClauseSyntax?)Visit(node.ExpressionBody), VisitToken(node.SemicolonToken));
_generated\2\Syntax.xml.Syntax.Generated.cs (9)
12838
if (attributeLists != this.
AttributeLists
|| modifiers != this.Modifiers || identifier != this.Identifier || parameterList != this.ParameterList || initializer != this.Initializer || body != this.Body || expressionBody != this.ExpressionBody || semicolonToken != this.SemicolonToken)
12851
public new ConstructorDeclarationSyntax WithModifiers(SyntaxTokenList modifiers) => Update(this.
AttributeLists
, modifiers, this.Identifier, this.ParameterList, this.Initializer, this.Body, this.ExpressionBody, this.SemicolonToken);
12852
public ConstructorDeclarationSyntax WithIdentifier(SyntaxToken identifier) => Update(this.
AttributeLists
, this.Modifiers, identifier, this.ParameterList, this.Initializer, this.Body, this.ExpressionBody, this.SemicolonToken);
12854
public new ConstructorDeclarationSyntax WithParameterList(ParameterListSyntax parameterList) => Update(this.
AttributeLists
, this.Modifiers, this.Identifier, parameterList, this.Initializer, this.Body, this.ExpressionBody, this.SemicolonToken);
12855
public ConstructorDeclarationSyntax WithInitializer(ConstructorInitializerSyntax? initializer) => Update(this.
AttributeLists
, this.Modifiers, this.Identifier, this.ParameterList, initializer, this.Body, this.ExpressionBody, this.SemicolonToken);
12857
public new ConstructorDeclarationSyntax WithBody(BlockSyntax? body) => Update(this.
AttributeLists
, this.Modifiers, this.Identifier, this.ParameterList, this.Initializer, body, this.ExpressionBody, this.SemicolonToken);
12859
public new ConstructorDeclarationSyntax WithExpressionBody(ArrowExpressionClauseSyntax? expressionBody) => Update(this.
AttributeLists
, this.Modifiers, this.Identifier, this.ParameterList, this.Initializer, this.Body, expressionBody, this.SemicolonToken);
12861
public new ConstructorDeclarationSyntax WithSemicolonToken(SyntaxToken semicolonToken) => Update(this.
AttributeLists
, this.Modifiers, this.Identifier, this.ParameterList, this.Initializer, this.Body, this.ExpressionBody, semicolonToken);
12864
public new ConstructorDeclarationSyntax AddAttributeLists(params AttributeListSyntax[] items) => WithAttributeLists(this.
AttributeLists
.AddRange(items));
Lowering\Instrumentation\CodeCoverageInstrumenter.cs (1)
613
return SkipAttributes(syntax, constructorSyntax.
AttributeLists
, constructorSyntax.Modifiers, constructorSyntax.Identifier, type: null);
Symbols\Source\SourceConstructorSymbol.cs (1)
232
return this.GetSyntax().
AttributeLists
;
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\roslyn\src\Analyzers\CSharp\Analyzers\UsePrimaryConstructor\CSharpUsePrimaryConstructorDiagnosticAnalyzer.cs (1)
296
if (primaryConstructor.Parameters.Length == 0 && primaryConstructorDeclaration.
AttributeLists
.Count == 0)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\roslyn\src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorCodeFixProvider.cs (1)
159
constructorDeclaration.
AttributeLists
.Select(
Microsoft.CodeAnalysis.CSharp.Features (3)
Organizing\Organizers\ConstructorDeclarationOrganizer.cs (1)
29
return syntax.Update(syntax.
AttributeLists
,
src\roslyn\src\Analyzers\CSharp\Analyzers\UsePrimaryConstructor\CSharpUsePrimaryConstructorDiagnosticAnalyzer.cs (1)
296
if (primaryConstructor.Parameters.Length == 0 && primaryConstructorDeclaration.
AttributeLists
.Count == 0)
src\roslyn\src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorCodeFixProvider.cs (1)
159
constructorDeclaration.
AttributeLists
.Select(
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
FindSymbols\CSharpDeclaredSymbolInfoFactoryService.cs (1)
280
ctorDecl.
AttributeLists
.Any(),