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)
96
Debug.Assert(
_signatureMap
.ContainsKey(selectedItem));
97
Contract.ThrowIfNull(
_signatureMap
);
99
var defaultValue =
_signatureMap
.GetValueOrDefault(_selectedItem);
119
_signatureMap =
_signatureMap
.Add(item, new Signature(triggerSpan, item, GetParameterIndexForItem(item, selectedParameter)));
160
Contract.ThrowIfFalse(
_signatureMap
.TryGetKey((Signature)eventArgs.NewSelectedSignature, out var helpItem));
203
signatures.AddRange(_signatureHelpItems.Select(
_signatureMap
.GetValueOrDefault));