3 instantiations of BidirectionalMap
Microsoft.CodeAnalysis.Features (3)
EditAndContinue\Utilities\BidirectionalMap.cs (3)
39return new(forward, reverse); 65return new BidirectionalMap<T>(forward, reverse); 72=> new(match.Matches, match.ReverseMatches);
8 references to BidirectionalMap
Microsoft.CodeAnalysis.Features (8)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (1)
125protected abstract BidirectionalMap<SyntaxNode>? ComputeParameterMap(SyntaxNode oldDeclaration, SyntaxNode newDeclaration);
EditAndContinue\Utilities\BidirectionalMap.cs (7)
17public static readonly BidirectionalMap<T> Empty = new(SpecializedCollections.EmptyReadOnlyDictionary<T, T>(), SpecializedCollections.EmptyReadOnlyDictionary<T, T>()); 26public BidirectionalMap<T> With(T source, T target) 42public BidirectionalMap<T> With(BidirectionalMap<T> map) 68public BidirectionalMap<T> WithMatch(Match<T> match) 69=> With(BidirectionalMap<T>.FromMatch(match)); 71public static BidirectionalMap<T> FromMatch(Match<T> match)