1 write to _root
Microsoft.CodeAnalysis.CSharp (1)
Utilities\TypeUnionValueSet.cs (1)
71_root = root;
30 references to _root
Microsoft.CodeAnalysis.CSharp (30)
Utilities\TypeUnionValueSet.cs (30)
46/// instances of that type are definitely not in the set. Otherwise, <see cref="_root"/> 126if (_root == (object)IsTrueNode.Instance) 130else if (_root == (object)IsFalseNode.Instance) 136_lazyMightIncludeNonNull = TryGetSampleType(_root, ref useSiteInfo) is not null; 149if (_root == (object)IsTrueNode.Instance) 153else if (_root == (object)IsFalseNode.Instance) 162bool? result = EvaluateNodeForInputValue(_root, null, ref discardedInfo); 182/// <seealso cref="_root"/> 295var sample = TryGetSampleType(_root, ref useSiteInfo); 359if (_root == (object)IsTrueNode.Instance) 364if (_root == (object)IsFalseNode.Instance) 369if (_root is not NotNode { Negated: var negated }) 371negated = new NotNode(_root); 381if (_root == (object)IsFalseNode.Instance) 386if (other._root == (object)IsFalseNode.Instance) 391if (_root == (object)IsTrueNode.Instance) 396if (other._root == (object)IsTrueNode.Instance) 401return new TypeUnionValueSet(_typesInUnion, new AndNode(_root, other._root), _conversions); 408if (_root == (object)IsFalseNode.Instance) 413if (other._root == (object)IsFalseNode.Instance) 418if (_root == (object)IsTrueNode.Instance) 423if (other._root == (object)IsTrueNode.Instance) 428return new TypeUnionValueSet(_typesInUnion, new OrNode(_root, other._root), _conversions); 443if (EvaluateNodeForInputValue(_root, type, ref useSiteInfo) == false) 449return TryGetSampleType(new AndNode(_root, new NotNode(new IsTypeNode(type))), ref useSiteInfo) is null; 457var copy = new TypeUnionValueSet(_typesInUnion, _root, _conversions); 466if (_root == (object)IsTrueNode.Instance) 471return prefix + _root.ToString();