13 references to WithAccessorList
ILLink.CodeFixProvider (1)
RequiresUnsafeCodeFixProvider.cs (1)
475.WithAccessorList(indexerAccessorList);
Microsoft.CodeAnalysis.CSharp (2)
_generated\2\Syntax.xml.Syntax.Generated.cs (2)
13463internal override BasePropertyDeclarationSyntax WithAccessorListCore(AccessorListSyntax? accessorList) => WithAccessorList(accessorList); 13477return WithAccessorList(accessorList.WithAccessors(accessorList.Accessors.AddRange(items)));
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\roslyn\src\Analyzers\CSharp\Analyzers\UseExpressionBody\Helpers\UseExpressionBodyForIndexersHelper.cs (2)
51=> declaration.WithAccessorList(accessorList); 57return declaration.WithAccessorList(null);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\PropertyGenerator.cs (1)
224declaration = declaration.WithAccessorList(null)
Microsoft.CodeAnalysis.CSharp.Features (2)
src\roslyn\src\Analyzers\CSharp\Analyzers\UseExpressionBody\Helpers\UseExpressionBodyForIndexersHelper.cs (2)
51=> declaration.WithAccessorList(accessorList); 57return declaration.WithAccessorList(null);
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
CodeGeneration\CSharpSyntaxGenerator.cs (3)
454indexer.WithAccessorList(CreateAccessorList(indexer.AccessorList, accessorDeclarations)) 666return (ind.AccessorList != null) ? ind.WithAccessorList(WithBodies(ind.AccessorList)) : ind; 841.WithAccessorList(WithoutBodies(indexer.AccessorList));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\PropertyGenerator.cs (1)
224declaration = declaration.WithAccessorList(null)
Roslyn.Diagnostics.CSharp.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\PropertyGenerator.cs (1)
224declaration = declaration.WithAccessorList(null)