2 writes to _signatureMap
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (2)
SignatureHelpPresenter.SignatureHelpPresenterSession.cs (2)
121_signatureMap = BidirectionalMap<SignatureHelpItem, Signature>.Empty; 125_signatureMap = _signatureMap.Add(item, new Signature(triggerSpan, item, GetParameterIndexForItem(item, selectedParameter)));
6 references to _signatureMap
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (6)
SignatureHelpPresenter.SignatureHelpPresenterSession.cs (6)
102Debug.Assert(_signatureMap.ContainsKey(selectedItem)); 103Contract.ThrowIfNull(_signatureMap); 105var defaultValue = _signatureMap.GetValueOrDefault(_selectedItem); 125_signatureMap = _signatureMap.Add(item, new Signature(triggerSpan, item, GetParameterIndexForItem(item, selectedParameter))); 166Contract.ThrowIfFalse(_signatureMap.TryGetKey((Signature)eventArgs.NewSelectedSignature, out var helpItem)); 209signatures.AddRange(_signatureHelpItems.Select(_signatureMap.GetValueOrDefault));