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