1 write to _root
Microsoft.CodeAnalysis.CSharp (1)
Utilities\TypeUnionValueSet.cs (1)
70_root = root;
29 references to _root
Microsoft.CodeAnalysis.CSharp (29)
Utilities\TypeUnionValueSet.cs (29)
46/// instances of that type are definitely not in the set. Otherwise, <see cref="_root"/> 125if (_root == (object)IsTrueNode.Instance) 129else if (_root == (object)IsFalseNode.Instance) 135_lazyMightIncludeNonNull = TryGetSampleType(_root, ref useSiteInfo) is not null; 148if (_root == (object)IsTrueNode.Instance) 152else if (_root == (object)IsFalseNode.Instance) 161bool? result = EvaluateNodeForInputValue(_root, null, ref discardedInfo); 272var sample = TryGetSampleType(_root, ref useSiteInfo); 336if (_root == (object)IsTrueNode.Instance) 341if (_root == (object)IsFalseNode.Instance) 346if (_root is not NotNode { Negated: var negated }) 348negated = new NotNode(_root); 358if (_root == (object)IsFalseNode.Instance) 363if (other._root == (object)IsFalseNode.Instance) 368if (_root == (object)IsTrueNode.Instance) 373if (other._root == (object)IsTrueNode.Instance) 378return new TypeUnionValueSet(_typesInUnion, new AndNode(_root, other._root), _conversions); 385if (_root == (object)IsFalseNode.Instance) 390if (other._root == (object)IsFalseNode.Instance) 395if (_root == (object)IsTrueNode.Instance) 400if (other._root == (object)IsTrueNode.Instance) 405return new TypeUnionValueSet(_typesInUnion, new OrNode(_root, other._root), _conversions); 420if (EvaluateNodeForInputValue(_root, type, ref useSiteInfo) == false) 426return TryGetSampleType(new AndNode(_root, new NotNode(new IsTypeNode(type))), ref useSiteInfo) is null; 434var copy = new TypeUnionValueSet(_typesInUnion, _root, _conversions); 443if (_root == (object)IsTrueNode.Instance) 448return prefix + _root.ToString();