Base:
property
AttributeLists
Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax.AttributeLists
21 references to AttributeLists
Microsoft.CodeAnalysis.CSharp (9)
Declarations\DeclarationTreeBuilder.cs (1)
902bool anyMemberHasAttributes = members.Any(static m => m.AttributeLists.Any());
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (1)
163AddAttributes(t.AttributeLists, codeBlocks);
Symbols\Source\SourceEnumConstantSymbol.cs (1)
94return OneOrMany.Create(this.SyntaxNode.AttributeLists);
Syntax.xml.Main.Generated.cs (1)
2014=> node.Update(VisitList(node.AttributeLists), VisitList(node.Modifiers), VisitToken(node.Identifier), (EqualsValueClauseSyntax?)Visit(node.EqualsValue));
Syntax.xml.Syntax.Generated.cs (5)
11292if (attributeLists != this.AttributeLists || modifiers != this.Modifiers || identifier != this.Identifier || equalsValue != this.EqualsValue) 11305public new EnumMemberDeclarationSyntax WithModifiers(SyntaxTokenList modifiers) => Update(this.AttributeLists, modifiers, this.Identifier, this.EqualsValue); 11306public EnumMemberDeclarationSyntax WithIdentifier(SyntaxToken identifier) => Update(this.AttributeLists, this.Modifiers, identifier, this.EqualsValue); 11307public EnumMemberDeclarationSyntax WithEqualsValue(EqualsValueClauseSyntax? equalsValue) => Update(this.AttributeLists, this.Modifiers, this.Identifier, equalsValue); 11310public new EnumMemberDeclarationSyntax AddAttributeLists(params AttributeListSyntax[] items) => WithAttributeLists(this.AttributeLists.AddRange(items));
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (1)
163AddAttributes(t.AttributeLists, codeBlocks);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
13245Assert.Equal(default, node.AttributeLists); 13249var newNode = node.WithAttributeLists(node.AttributeLists).WithModifiers(node.Modifiers).WithIdentifier(node.Identifier).WithEqualsValue(node.EqualsValue);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
FindSymbols\CSharpDeclaredSymbolInfoFactoryService.cs (1)
316enumMember.AttributeLists.Any(),
Microsoft.VisualStudio.LanguageServices.CSharp (8)
CodeModel\CSharpCodeModelService.CodeModelEventCollector.cs (2)
288oldEnumMember.AttributeLists.AsReadOnlyList(), 289newEnumMember.AttributeLists.AsReadOnlyList(),
CodeModel\CSharpCodeModelService.cs (2)
329return GetAttributeNodes(enumMember.AttributeLists); 3441var newAttributeLists = member.AttributeLists.Insert(index, (AttributeListSyntax)list);
CodeModel\CSharpCodeModelService.NodeLocator.cs (3)
734if (node.AttributeLists.Count == 0) 1232if (node.AttributeLists.Count == 0) 1237endPosition = node.AttributeLists.Last().GetLastToken().Span.End;
CodeModel\SyntaxNodeExtensions.cs (1)
48attributeLists = enumMember.AttributeLists;