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