2 instantiations of TypedConstant
System.Linq.Expressions (2)
System\Linq\Expressions\Compiler\BoundConstants.cs (2)
89
Helpers.IncrementCount(new
TypedConstant
(value, type), _references);
106
if (_cache.TryGetValue(new
TypedConstant
(value, type), out LocalBuilder? local))
9 references to TypedConstant
System.Linq.Expressions (9)
System\Linq\Expressions\Compiler\BoundConstants.cs (9)
27
private readonly struct TypedConstant : IEquatable<
TypedConstant
>
42
public bool Equals(
TypedConstant
other)
48
return obj is
TypedConstant
typedConstant && Equals(typedConstant);
65
private readonly Dictionary<
TypedConstant
, int> _references = new Dictionary<
TypedConstant
, int>();
70
private readonly Dictionary<
TypedConstant
, LocalBuilder> _cache = new Dictionary<
TypedConstant
, LocalBuilder>();
122
foreach (KeyValuePair<
TypedConstant
, int> reference in _references)
146
foreach (KeyValuePair<
TypedConstant
, int> reference in _references)