9 references to AccessorDeclaringKind
Microsoft.CodeAnalysis.CSharp (9)
Parser\LanguageParser.cs (9)
3991accessorList = this.ParseAccessorList(AccessorDeclaringKind.Indexer); 4045? this.ParseAccessorList(AccessorDeclaringKind.Property) 4114private AccessorListSyntax ParseAccessorList(AccessorDeclaringKind declaringKind) 4136declaringKind == AccessorDeclaringKind.Event ? ErrorCode.ERR_AddOrRemoveExpected : ErrorCode.ERR_GetOrSetExpected) == PostSkipAction.Abort) 4388private AccessorDeclarationSyntax ParseAccessorDeclaration(AccessorDeclaringKind declaringKind) 4395using var __ = new FieldKeywordContext(this, isInFieldKeywordContext: declaringKind is AccessorDeclaringKind.Property); 4403declaringKind == AccessorDeclaringKind.Event ? ErrorCode.ERR_AddOrRemoveExpected : ErrorCode.ERR_GetOrSetExpected); 4419declaringKind == AccessorDeclaringKind.Event ? ErrorCode.ERR_AddOrRemoveExpected : ErrorCode.ERR_GetOrSetExpected); 4886accessorList = this.ParseAccessorList(AccessorDeclaringKind.Event);