1 write to _root
Microsoft.CodeAnalysis.CSharp (1)
Utilities\TypeUnionValueSet.cs (1)
56_root = root;
29 references to _root
Microsoft.CodeAnalysis.CSharp (29)
Utilities\TypeUnionValueSet.cs (29)
32/// instances of that type are definitely not in the set. Otherwise, <see cref="_root"/> 112if (_root == (object)IsTrueNode.Instance) 116else if (_root == (object)IsFalseNode.Instance) 122_lazyMightIncludeNonNull = TryGetSampleType(_root, ref useSiteInfo) is not null; 135if (_root == (object)IsTrueNode.Instance) 139else if (_root == (object)IsFalseNode.Instance) 148bool? result = EvaluateNodeForInputValue(_root, null, ref discardedInfo); 259return TryGetSampleType(_root, ref useSiteInfo); 293if (_root == (object)IsTrueNode.Instance) 298if (_root == (object)IsFalseNode.Instance) 303if (_root is not NotNode { Negated: var negated }) 305negated = new NotNode(_root); 315if (_root == (object)IsFalseNode.Instance) 320if (other._root == (object)IsFalseNode.Instance) 325if (_root == (object)IsTrueNode.Instance) 330if (other._root == (object)IsTrueNode.Instance) 335return new TypeUnionValueSet(_typesInUnion, new AndNode(_root, other._root), _conversions); 342if (_root == (object)IsFalseNode.Instance) 347if (other._root == (object)IsFalseNode.Instance) 352if (_root == (object)IsTrueNode.Instance) 357if (other._root == (object)IsTrueNode.Instance) 362return new TypeUnionValueSet(_typesInUnion, new OrNode(_root, other._root), _conversions); 377if (EvaluateNodeForInputValue(_root, type, ref useSiteInfo) == false) 383return TryGetSampleType(new AndNode(_root, new NotNode(new IsTypeNode(type))), ref useSiteInfo) is null; 391var copy = new TypeUnionValueSet(_typesInUnion, _root, _conversions); 400if (_root == (object)IsTrueNode.Instance) 405return prefix + _root.ToString();