27 references to Id
System.Text.RegularExpressions (27)
System\Text\RegularExpressions\Symbolic\MatchingState.cs (1)
25NodeId = node.Id;
System\Text\RegularExpressions\Symbolic\SymbolicRegexBuilder.cs (10)
184NodeData[] nodes = AcquireNodeDataArray(node.Id); 185return new SymbolicRegexNodeContext<TSet>(this, nodes, node.Id); 221id = node.Id; 241_nothingId = SymbolicRegexNode<TSet>.CreateFalse(this).Id; 242_anyCharId = SymbolicRegexNode<TSet>.CreateTrue(this).Id; 243_anyStarId = SymbolicRegexNode<TSet>.CreateLoop(this, _anyChar, 0, int.MaxValue, isLazy: false).Id; 244_anyStarLazyId = SymbolicRegexNode<TSet>.CreateLoop(this, _anyChar, 0, int.MaxValue, isLazy: true).Id; 247_singletonCache[_solver.Empty] = _nothing.Id; 248_singletonCache[_solver.Full] = _anyChar.Id; 363_singletonCache.Add(set, node.Id);
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Automata.cs (1)
254(int NodeId, uint PrevCharKind) key = (prunedNode.Id, prevCharKind);
System\Text\RegularExpressions\Symbolic\SymbolicRegexNode.cs (15)
200public static bool operator ==(SymbolicRegexNodeContext<TSet> left, SymbolicRegexNode<TSet> right) => left._id == right.Id; 201public static bool operator !=(SymbolicRegexNodeContext<TSet> left, SymbolicRegexNode<TSet> right) => left._id != right.Id; 202public static bool operator ==(SymbolicRegexNode<TSet> left, SymbolicRegexNodeContext<TSet> right) => left.Id == right._id; 203public static bool operator !=(SymbolicRegexNode<TSet> left, SymbolicRegexNodeContext<TSet> right) => left.Id != right._id; 216Debug.Assert(left.IsNull || left.Id <= builder.NodeCount); 217Debug.Assert(right.IsNull || right.Id <= builder.NodeCount); 219var key = new SymbolicRegexBuilder<TSet>.NodeCacheKey(kind, left.Id, right.Id, lower, upper, setOrStartSet, info); 222id = builder.AddNode(kind, left.Id, right.Id, lower, upper, setOrStartSet, info); 787if (builder._subsumptionCache.TryGetValue((_id, other.Id), out bool cached)) 803return (builder._subsumptionCache[(_id, other.Id)] = subsumes.Value); 1325builder._pruneLowerPriorityThanNullabilityCache[key] = prunedNode.Id; 1532builder._derivativeCache[key] = derivative.Id; 1606builder._stripEffectsCache[_id] = result.Id;