9 references to AccessorDeclaringKind
Microsoft.CodeAnalysis.CSharp (9)
Parser\LanguageParser.cs (9)
4155accessorList = this.ParseAccessorList(AccessorDeclaringKind.Indexer); 4209? this.ParseAccessorList(AccessorDeclaringKind.Property) 4307private AccessorListSyntax ParseAccessorList(AccessorDeclaringKind declaringKind) 4329declaringKind == AccessorDeclaringKind.Event ? ErrorCode.ERR_AddOrRemoveExpected : ErrorCode.ERR_GetOrSetExpected) == PostSkipAction.Abort) 4581private AccessorDeclarationSyntax ParseAccessorDeclaration(AccessorDeclaringKind declaringKind) 4588using var _1 = new ParserSyntaxContextResetter(this, isInFieldKeywordContext: declaringKind is AccessorDeclaringKind.Property); 4596declaringKind == AccessorDeclaringKind.Event ? ErrorCode.ERR_AddOrRemoveExpected : ErrorCode.ERR_GetOrSetExpected); 4612declaringKind == AccessorDeclaringKind.Event ? ErrorCode.ERR_AddOrRemoveExpected : ErrorCode.ERR_GetOrSetExpected); 5098accessorList = this.ParseAccessorList(AccessorDeclaringKind.Event);