9 references to AccessorDeclaringKind
Microsoft.CodeAnalysis.CSharp (9)
Parser\LanguageParser.cs (9)
4041accessorList = this.ParseAccessorList(AccessorDeclaringKind.Indexer); 4095? this.ParseAccessorList(AccessorDeclaringKind.Property) 4164private AccessorListSyntax ParseAccessorList(AccessorDeclaringKind declaringKind) 4186declaringKind == AccessorDeclaringKind.Event ? ErrorCode.ERR_AddOrRemoveExpected : ErrorCode.ERR_GetOrSetExpected) == PostSkipAction.Abort) 4438private AccessorDeclarationSyntax ParseAccessorDeclaration(AccessorDeclaringKind declaringKind) 4445using var __ = new FieldKeywordContext(this, isInFieldKeywordContext: declaringKind is AccessorDeclaringKind.Property); 4453declaringKind == AccessorDeclaringKind.Event ? ErrorCode.ERR_AddOrRemoveExpected : ErrorCode.ERR_GetOrSetExpected); 4469declaringKind == AccessorDeclaringKind.Event ? ErrorCode.ERR_AddOrRemoveExpected : ErrorCode.ERR_GetOrSetExpected); 4956accessorList = this.ParseAccessorList(AccessorDeclaringKind.Event);