2 writes to _signatureMap
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
SignatureHelp\Presentation\SignatureHelpPresenter.SignatureHelpPresenterSession.cs (2)
115_signatureMap = BidirectionalMap<SignatureHelpItem, Signature>.Empty; 119_signatureMap = _signatureMap.Add(item, new Signature(triggerSpan, item, GetParameterIndexForItem(item, selectedParameter)));
6 references to _signatureMap
Microsoft.CodeAnalysis.EditorFeatures.Wpf (6)
SignatureHelp\Presentation\SignatureHelpPresenter.SignatureHelpPresenterSession.cs (6)
96Debug.Assert(_signatureMap.ContainsKey(selectedItem)); 97Contract.ThrowIfNull(_signatureMap); 99var defaultValue = _signatureMap.GetValueOrDefault(_selectedItem); 119_signatureMap = _signatureMap.Add(item, new Signature(triggerSpan, item, GetParameterIndexForItem(item, selectedParameter))); 160Contract.ThrowIfFalse(_signatureMap.TryGetKey((Signature)eventArgs.NewSelectedSignature, out var helpItem)); 203signatures.AddRange(_signatureHelpItems.Select(_signatureMap.GetValueOrDefault));