4 instantiations of BidirectionalMap
Microsoft.CodeAnalysis.Features (4)
EditAndContinue\Utilities\BidirectionalMap.cs (4)
17
public static readonly BidirectionalMap<T> Empty =
new
(SpecializedCollections.EmptyReadOnlyDictionary<T, T>(), SpecializedCollections.EmptyReadOnlyDictionary<T, T>());
39
return
new
(forward, reverse);
65
return new
BidirectionalMap
<T>(forward, reverse);
72
=>
new
(match.Matches, match.ReverseMatches);
11 references to BidirectionalMap
Microsoft.CodeAnalysis.CSharp.Features (2)
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (2)
400
protected override
BidirectionalMap
<SyntaxNode>? ComputeParameterMap(SyntaxNode oldDeclaration, SyntaxNode newDeclaration)
402
BidirectionalMap
<SyntaxNode>.FromMatch(SyntaxComparer.TopLevel.ComputeMatch(oldParameterList, newParameterList)) : null;
Microsoft.CodeAnalysis.Features (9)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (2)
119
protected abstract
BidirectionalMap
<SyntaxNode>? ComputeParameterMap(SyntaxNode oldDeclaration, SyntaxNode newDeclaration);
6404
BidirectionalMap
<SyntaxNode>? parameterMap = null;
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)