Implemented interface member:
method
TryGetValue
Roslyn.Utilities.IBidirectionalMap<TKey, TValue>.TryGetValue(TKey, out TValue)
7 references to TryGetValue
Microsoft.CodeAnalysis.CodeStyle (2)
BidirectionalMap.cs (2)
101if (TryGetValue(key, out var result)) 123if (TryGetValue(key, out var result))
Microsoft.CodeAnalysis.CSharp.CodeStyle (5)
CSharpFormattingOptions2.Parsers.cs (5)
70=> (SpacePlacementWithinParentheses)ParseEditorConfigFlags(list, static s => s_spacingWithinParenthesisOptionsEditorConfigMap.TryGetValue(s, out var v) ? (int)v : 0); 79static s => s_newLineOptionsEditorConfigMap.TryGetValue(s, out var v) ? (int)v : s_legacyNewLineOptionsEditorConfigMap.TryGetValue(s, out v) ? (int)v : 0, 93=> s_binaryOperatorSpacingOptionsEditorConfigMap.TryGetValue(binaryOperatorSpacingValue.Trim(), out var value) ? value : BinaryOperatorSpacingOptions.Single; 99=> s_labelPositionOptionsEditorConfigMap.TryGetValue(labelIndentationValue.Trim(), out var value) ? value : LabelPositionOptions.NoIndent;