21 references to AttributeLists
Microsoft.CodeAnalysis.CSharp (8)
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (1)
406AddAttributes(parameter.AttributeLists, builder);
Symbols\Source\LocalFunctionSymbol.cs (1)
425ReportAttributesDisallowed(parameter.AttributeLists, diagnostics);
Symbols\Source\SourceTypeParameterSymbol.cs (1)
126mergedAttributesBuilder.Add(syntax.AttributeLists);
Syntax.xml.Main.Generated.cs (1)
1993=> node.Update(VisitList(node.AttributeLists), VisitToken(node.VarianceKeyword), VisitToken(node.Identifier));
Syntax.xml.Syntax.Generated.cs (4)
10203if (attributeLists != this.AttributeLists || varianceKeyword != this.VarianceKeyword || identifier != this.Identifier) 10214public TypeParameterSyntax WithVarianceKeyword(SyntaxToken varianceKeyword) => Update(this.AttributeLists, varianceKeyword, this.Identifier); 10215public TypeParameterSyntax WithIdentifier(SyntaxToken identifier) => Update(this.AttributeLists, this.VarianceKeyword, identifier); 10217public TypeParameterSyntax AddAttributeLists(params AttributeListSyntax[] items) => WithAttributeLists(this.AttributeLists.AddRange(items));
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
167TypeParameterSyntax typeParameter => typeParameter.AttributeLists,
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (1)
432var newAttributeLists = RemoveAttributeFromAttributeLists(typeParameter.AttributeLists, attributeToRemove, out positionOfRemovedNode, out triviaOfRemovedNode);
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (1)
406AddAttributes(parameter.AttributeLists, builder);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Generated\Syntax.Test.xml.Generated.cs (2)
13112Assert.Equal(default, node.AttributeLists); 13115var newNode = node.WithAttributeLists(node.AttributeLists).WithVarianceKeyword(node.VarianceKeyword).WithIdentifier(node.Identifier);
Parsing\DeclarationParsingTests.cs (3)
1638Assert.Equal(0, gn.Parameters[0].AttributeLists.Count); 1669Assert.Equal(1, gn.Parameters[0].AttributeLists.Count); 1670Assert.Equal("B", gn.Parameters[0].AttributeLists[0].Attributes[0].Name.ToString());
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
167TypeParameterSyntax typeParameter => typeParameter.AttributeLists,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (1)
432var newAttributeLists = RemoveAttributeFromAttributeLists(typeParameter.AttributeLists, attributeToRemove, out positionOfRemovedNode, out triviaOfRemovedNode);
Microsoft.Extensions.Logging.Generators (1)
LoggerMessageGenerator.Parser.cs (1)
617if (parameter.AttributeLists.Count > 0)
Roslyn.Diagnostics.CSharp.Analyzers (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
167TypeParameterSyntax typeParameter => typeParameter.AttributeLists,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (1)
432var newAttributeLists = RemoveAttributeFromAttributeLists(typeParameter.AttributeLists, attributeToRemove, out positionOfRemovedNode, out triviaOfRemovedNode);