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