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