Base:
property
AccessorList
Microsoft.CodeAnalysis.CSharp.Syntax.BasePropertyDeclarationSyntax.AccessorList
30 references to AccessorList
Microsoft.CodeAnalysis.CSharp (19)
_generated\0\Syntax.xml.Main.Generated.cs (1)
2095
=> node.Update(VisitList(node.AttributeLists), VisitList(node.Modifiers), VisitToken(node.EventKeyword), (TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"), (ExplicitInterfaceSpecifierSyntax?)Visit(node.ExplicitInterfaceSpecifier), VisitToken(node.Identifier), (AccessorListSyntax?)Visit(node.
AccessorList
), VisitToken(node.SemicolonToken));
_generated\2\Syntax.xml.Syntax.Generated.cs (9)
13325
if (attributeLists != this.AttributeLists || modifiers != this.Modifiers || eventKeyword != this.EventKeyword || type != this.Type || explicitInterfaceSpecifier != this.ExplicitInterfaceSpecifier || identifier != this.Identifier || accessorList != this.
AccessorList
|| semicolonToken != this.SemicolonToken)
13336
public new EventDeclarationSyntax WithAttributeLists(SyntaxList<AttributeListSyntax> attributeLists) => Update(attributeLists, this.Modifiers, this.EventKeyword, this.Type, this.ExplicitInterfaceSpecifier, this.Identifier, this.
AccessorList
, this.SemicolonToken);
13338
public new EventDeclarationSyntax WithModifiers(SyntaxTokenList modifiers) => Update(this.AttributeLists, modifiers, this.EventKeyword, this.Type, this.ExplicitInterfaceSpecifier, this.Identifier, this.
AccessorList
, this.SemicolonToken);
13339
public EventDeclarationSyntax WithEventKeyword(SyntaxToken eventKeyword) => Update(this.AttributeLists, this.Modifiers, eventKeyword, this.Type, this.ExplicitInterfaceSpecifier, this.Identifier, this.
AccessorList
, this.SemicolonToken);
13341
public new EventDeclarationSyntax WithType(TypeSyntax type) => Update(this.AttributeLists, this.Modifiers, this.EventKeyword, type, this.ExplicitInterfaceSpecifier, this.Identifier, this.
AccessorList
, this.SemicolonToken);
13343
public new EventDeclarationSyntax WithExplicitInterfaceSpecifier(ExplicitInterfaceSpecifierSyntax? explicitInterfaceSpecifier) => Update(this.AttributeLists, this.Modifiers, this.EventKeyword, this.Type, explicitInterfaceSpecifier, this.Identifier, this.
AccessorList
, this.SemicolonToken);
13344
public EventDeclarationSyntax WithIdentifier(SyntaxToken identifier) => Update(this.AttributeLists, this.Modifiers, this.EventKeyword, this.Type, this.ExplicitInterfaceSpecifier, identifier, this.
AccessorList
, this.SemicolonToken);
13347
public EventDeclarationSyntax WithSemicolonToken(SyntaxToken semicolonToken) => Update(this.AttributeLists, this.Modifiers, this.EventKeyword, this.Type, this.ExplicitInterfaceSpecifier, this.Identifier, this.
AccessorList
, semicolonToken);
13356
var accessorList = this.
AccessorList
?? SyntaxFactory.AccessorList();
src\roslyn\src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (2)
187
if (t.
AccessorList
!= null)
189
foreach (var decl in t.
AccessorList
.Accessors)
Symbols\Source\SourceCustomEventSymbol.cs (6)
79
if (syntax.
AccessorList
!= null)
81
foreach (AccessorDeclarationSyntax accessor in syntax.
AccessorList
.Accessors)
132
if (!syntax.
AccessorList
.OpenBraceToken.IsMissing)
134
diagnostics.Add(ErrorCode.ERR_AbstractEventHasAccessors, syntax.
AccessorList
.OpenBraceToken.GetLocation(), this);
137
else if ((addSyntax == null || removeSyntax == null) && (!syntax.
AccessorList
.OpenBraceToken.IsMissing || !isExplicitInterfaceImplementation))
147
if (isExplicitInterfaceImplementation && IsAbstract && syntax.
AccessorList
== null)
Syntax\EventDeclarationSyntax.cs (1)
20
return Update(attributeLists, modifiers, eventKeyword, type, explicitInterfaceSpecifier, identifier,
AccessorList
, semicolonToken);
Microsoft.CodeAnalysis.CSharp.Features (9)
EditAndContinue\BreakpointSpans.cs (2)
377
return @event.
AccessorList
!= null ? CreateSpanForAccessors(@event.
AccessorList
.Accessors, position) : null;
Organizing\Organizers\EventDeclarationOrganizer.cs (1)
35
syntax.
AccessorList
,
src\roslyn\src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (2)
187
if (t.
AccessorList
!= null)
189
foreach (var decl in t.
AccessorList
.Accessors)
Structure\Providers\EventDeclarationStructureProvider.cs (4)
24
if (eventDeclaration.
AccessorList
== null ||
25
eventDeclaration.
AccessorList
.IsMissing ||
26
eventDeclaration.
AccessorList
.OpenBraceToken.IsMissing ||
27
eventDeclaration.
AccessorList
.CloseBraceToken.IsMissing)
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
CodeGeneration\CSharpSyntaxGenerator.cs (2)
670
return (ev.
AccessorList
!= null) ? ev.WithAccessorList(WithBodies(ev.
AccessorList
)) : ev;