5 instantiations of SmallDictionary
Microsoft.CodeAnalysis (5)
CodeGen\ILBuilder.cs (1)
81
_labelInfos = new
SmallDictionary
<object, LabelInfo>(ReferenceEqualityComparer.Instance);
Collections\SmallDictionary.cs (1)
42
public static readonly SmallDictionary<K, V> Empty = new
SmallDictionary
<K, V>(null!);
Compilation\Compilation.cs (2)
3717
_lazyMakeMemberMissingMap = new
SmallDictionary
<int, bool>();
3742
_lazyMakeWellKnownTypeMissingMap = new
SmallDictionary
<int, bool>();
DiagnosticAnalyzer\SuppressMessageAttributeState.cs (1)
20
private static readonly SmallDictionary<string, TargetScope> s_suppressMessageScopeTypes = new
SmallDictionary
<string, TargetScope>(StringComparer.OrdinalIgnoreCase)
14 references to SmallDictionary
Microsoft.CodeAnalysis (14)
CodeGen\BasicBlock.cs (1)
422
var
labelInfos = builder._labelInfos;
CodeGen\ILBuilder.cs (1)
40
private readonly
SmallDictionary
<object, LabelInfo> _labelInfos;
Collections\SmallDictionary.cs (9)
42
public static readonly
SmallDictionary
<K, V> Empty = new SmallDictionary<K, V>(null!);
51
public SmallDictionary(
SmallDictionary
<K, V> other, IEqualityComparer<K> comparer)
508
private readonly
SmallDictionary
<K, V> _dict;
510
public KeyCollection(
SmallDictionary
<K, V> dict)
521
public Enumerator(
SmallDictionary
<K, V> dict)
623
private readonly
SmallDictionary
<K, V> _dict;
625
public ValueCollection(
SmallDictionary
<K, V> dict)
636
public Enumerator(
SmallDictionary
<K, V> dict)
742
public Enumerator(
SmallDictionary
<K, V> dict)
Compilation\Compilation.cs (2)
63
private
SmallDictionary
<int, bool>? _lazyMakeWellKnownTypeMissingMap;
68
private
SmallDictionary
<int, bool>? _lazyMakeMemberMissingMap;
DiagnosticAnalyzer\SuppressMessageAttributeState.cs (1)
20
private static readonly
SmallDictionary
<string, TargetScope> s_suppressMessageScopeTypes = new SmallDictionary<string, TargetScope>(StringComparer.OrdinalIgnoreCase)