2 writes to _signatureMap
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
SignatureHelp\Presentation\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.Wpf (6)
SignatureHelp\Presentation\SignatureHelpPresenter.SignatureHelpPresenterSession.cs (6)
102
Debug.Assert(
_signatureMap
.ContainsKey(selectedItem));
103
Contract.ThrowIfNull(
_signatureMap
);
105
var defaultValue =
_signatureMap
.GetValueOrDefault(_selectedItem);
125
_signatureMap =
_signatureMap
.Add(item, new Signature(triggerSpan, item, GetParameterIndexForItem(item, selectedParameter)));
166
Contract.ThrowIfFalse(
_signatureMap
.TryGetKey((Signature)eventArgs.NewSelectedSignature, out var helpItem));
209
signatures.AddRange(_signatureHelpItems.Select(
_signatureMap
.GetValueOrDefault));