7 writes to _firstState
System.Speech (7)
Internal\SrgsCompiler\BackEnd.cs (2)
1103rule._firstState = _states.CreateNewState(rule); 1171dstRule._firstState = newState;
Internal\SrgsCompiler\Graph.cs (1)
185srcState.Rule._firstState = destState;
Internal\SrgsCompiler\Rule.cs (4)
32_firstState = null; 158_firstState = _backend.CreateNewState(this); 169_firstState = _startArc.End; 176_firstState = _backend.CreateNewState(this);
17 references to _firstState
System.Speech (17)
Internal\SrgsCompiler\BackEnd.cs (5)
528System.Diagnostics.Debug.Assert(rule._firstState != null); 535CloneState(rule._firstState, CloneStack, srcToDestHash); 615refRule ??= CloneState(arc.RuleRef._firstState!, CloneStack, srcToDestHash); 1122rule._firstState.SerializeId = (int)cfgRule.FirstArcIndex; 1123apStateTable[firstArc] = rule._firstState;
Internal\SrgsCompiler\Graph.cs (2)
182if (srcState.Rule._firstState == srcState) // Update RuleInitialState reference, if necessary 673if ((duplicatedEndState != duplicatedEndState.Rule._firstState) && MoveSemanticTagRight(duplicatedArc))
Internal\SrgsCompiler\Rule.cs (5)
98if ((!_cfgRule.Dynamic) && (!_cfgRule.Import) && _id != "VOID" && _firstState!.NumArcs == 0) 145_cfgRule.FirstArcIndex = _firstState != null && !_firstState.OutArcs.IsEmpty ? (uint)_firstState.SerializeId : 0; 179_startArc.Start = _firstState;
Internal\SrgsCompiler\State.cs (5)
257if (arc.RuleRef != null && arc.RuleRef._firstState != null) 259State pRuleFirstNode = arc.RuleRef._firstState; 287if ((_rule._firstState == this) && fReachedEndState) 396int isNode1FirstNode = (state1._rule._firstState == state1) ? -1 : 0; 397int isNode2FirstNode = (state2._rule._firstState == state2) ? -1 : 0;