1 write to AccessorKind
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7427this.AccessorKind = accessorKind;
13 references to AccessorKind
Microsoft.CodeAnalysis.CSharp (13)
Binder\Binder.ValueChecks.cs (1)
86Create(expr.Indexer, expr.AccessorKind);
Binder\Binder_Expressions.cs (1)
5905accessorKind = indexer.AccessorKind;
Generated\BoundNodes.xml.Generated.cs (5)
7451if (receiverOpt != this.ReceiverOpt || initialBindingReceiverIsSubjectToCloning != this.InitialBindingReceiverIsSubjectToCloning || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(indexer, this.Indexer) || arguments != this.Arguments || argumentNamesOpt != this.ArgumentNamesOpt || argumentRefKindsOpt != this.ArgumentRefKindsOpt || expanded != this.Expanded || accessorKind != this.AccessorKind || argsToParamsOpt != this.ArgsToParamsOpt || defaultArguments != this.DefaultArguments || originalIndexersOpt != this.OriginalIndexersOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 11993return node.Update(receiverOpt, node.InitialBindingReceiverIsSubjectToCloning, node.Indexer, arguments, node.ArgumentNamesOpt, node.ArgumentRefKindsOpt, node.Expanded, node.AccessorKind, node.ArgsToParamsOpt, node.DefaultArguments, node.OriginalIndexersOpt, type); 14530updatedNode = node.Update(receiverOpt, node.InitialBindingReceiverIsSubjectToCloning, indexer, arguments, node.ArgumentNamesOpt, node.ArgumentRefKindsOpt, node.Expanded, node.AccessorKind, node.ArgsToParamsOpt, node.DefaultArguments, node.OriginalIndexersOpt, infoAndType.Type!); 14535updatedNode = node.Update(receiverOpt, node.InitialBindingReceiverIsSubjectToCloning, indexer, arguments, node.ArgumentNamesOpt, node.ArgumentRefKindsOpt, node.Expanded, node.AccessorKind, node.ArgsToParamsOpt, node.DefaultArguments, node.OriginalIndexersOpt, node.Type); 16791new TreeDumperNode("accessorKind", node.AccessorKind, null),
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
399accessorKind: indexerAccess.AccessorKind,
Lowering\LocalRewriter\LocalRewriter_IndexerAccess.cs (5)
69Debug.Assert(node.AccessorKind != AccessorKind.Unknown); 80Debug.Assert(node.AccessorKind != AccessorKind.Unknown); 81Debug.Assert(isLeftOfAssignment || (node.AccessorKind != AccessorKind.Set)); 134indexerExpr.AccessorKind, 592indexerAccess.AccessorKind,