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