1 write to _id
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\Symbolic\SymbolicRegexNode.cs (1)
154
_id
= id;
22 references to _id
System.Text.RegularExpressions (22)
System\Text\RegularExpressions\Symbolic\SymbolicRegexNode.cs (22)
161
Debug.Assert(_builder is not null && _nodes is not null &&
_id
> 0);
162
return ref _nodes[
_id
- 1];
192
internal bool IsNull =>
_id
== 0;
193
internal int Id =>
_id
;
196
context.IsNull ? default : new SymbolicRegexNode<TSet>(context.
_id
);
198
public static bool operator ==(SymbolicRegexNodeContext<TSet> left, SymbolicRegexNodeContext<TSet> right) => left.
_id
== right.
_id
;
199
public static bool operator !=(SymbolicRegexNodeContext<TSet> left, SymbolicRegexNodeContext<TSet> right) => left.
_id
!= right.
_id
;
200
public static bool operator ==(SymbolicRegexNodeContext<TSet> left, SymbolicRegexNode<TSet> right) => left.
_id
== right.Id;
201
public static bool operator !=(SymbolicRegexNodeContext<TSet> left, SymbolicRegexNode<TSet> right) => left.
_id
!= right.Id;
202
public static bool operator ==(SymbolicRegexNode<TSet> left, SymbolicRegexNodeContext<TSet> right) => left.Id == right.
_id
;
203
public static bool operator !=(SymbolicRegexNode<TSet> left, SymbolicRegexNodeContext<TSet> right) => left.Id != right.
_id
;
205
public bool Equals(SymbolicRegexNodeContext<TSet> other) =>
_id
== other.
_id
;
210
public override int GetHashCode() =>
_id
;
787
if (builder._subsumptionCache.TryGetValue((
_id
, other.Id), out bool cached))
803
return (builder._subsumptionCache[(
_id
, other.Id)] = subsumes.Value);
1258
(int, uint) key = (
_id
, context);
1427
(int, TSet, uint) key = (
_id
, elem, context);
1556
if (builder._stripEffectsCache.TryGetValue(
_id
, out int cachedId))
1606
builder._stripEffectsCache[
_id
] = result.Id;