15 references to TryGetValue
Microsoft.CodeAnalysis.UnitTests (1)
Collections\CachingFactoryTests.cs (1)
40
bool found = cache.
TryGetValue
(key, out value);
Microsoft.CodeAnalysis.VisualBasic (14)
Scanner\TokenFactories.vb (13)
163
If Not _wsTable.
TryGetValue
(key, ws) Then
173
If Not _wsTable.
TryGetValue
(key, ws) Then
186
If Not _wsTable.
TryGetValue
(key, ct) Then
205
If Not _wsTable.
TryGetValue
(key, ws) Then
215
If Not _wsTable.
TryGetValue
(key, ws) Then
283
If _idTable.
TryGetValue
(tp, id) Then
344
If _kwTable.
TryGetValue
(tp, kw) Then
381
If _punctTable.
TryGetValue
(tp, p) Then
635
If _literalTable.
TryGetValue
(tp, p) Then
658
If _literalTable.
TryGetValue
(tp, p) Then
674
If _literalTable.
TryGetValue
(tp, p) Then
694
If _literalTable.
TryGetValue
(tp, p) Then
720
If _literalTable.
TryGetValue
(tp, p) Then
Syntax\InternalSyntax\SyntaxToken.vb (1)
71
If s_triviaInfoCache.
TryGetValue
(leadingTrivia, retVal) Then