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"/> 314var sample = TryGetSampleType(_root, ref useSiteInfo); 378if (_root == (object)IsTrueNode.Instance) 383if (_root == (object)IsFalseNode.Instance) 388if (_root is not NotNode { Negated: var negated }) 390negated = new NotNode(_root); 400if (_root == (object)IsFalseNode.Instance) 405if (other._root == (object)IsFalseNode.Instance) 410if (_root == (object)IsTrueNode.Instance) 415if (other._root == (object)IsTrueNode.Instance) 420return new TypeUnionValueSet(_typesInUnion, new AndNode(_root, other._root), _conversions); 427if (_root == (object)IsFalseNode.Instance) 432if (other._root == (object)IsFalseNode.Instance) 437if (_root == (object)IsTrueNode.Instance) 442if (other._root == (object)IsTrueNode.Instance) 447return new TypeUnionValueSet(_typesInUnion, new OrNode(_root, other._root), _conversions); 462if (EvaluateNodeForInputValue(_root, type, ref useSiteInfo) == false) 468return TryGetSampleType(new AndNode(_root, new NotNode(new IsTypeNode(type))), ref useSiteInfo) is null; 476var copy = new TypeUnionValueSet(_typesInUnion, _root, _conversions); 485if (_root == (object)IsTrueNode.Instance) 490return prefix + _root.ToString();