14 references to IsEmpty
System.Speech (14)
Internal\SrgsCompiler\Arc.cs (2)
665
if ((_start != null && !_start.OutArcs.
IsEmpty
) || (_end != null && !_end.InArcs.
IsEmpty
))
Internal\SrgsCompiler\BackEnd.cs (3)
670
System.Diagnostics.Debug.Assert(stateToDelete.InArcs.
IsEmpty
);
671
System.Diagnostics.Debug.Assert(stateToDelete.OutArcs.
IsEmpty
);
999
if (thisState == 0 && state.InArcs.
IsEmpty
&& state.Rule._cStates > 1)
Internal\SrgsCompiler\Graph.cs (3)
191
System.Diagnostics.Debug.Assert(srcState.OutArcs.
IsEmpty
);
218
System.Diagnostics.Debug.Assert(srcState.InArcs.
IsEmpty
);
230
System.Diagnostics.Debug.Assert(srcState.InArcs.
IsEmpty
);
Internal\SrgsCompiler\OneOf.cs (3)
47
if (_startArc!.End!.OutArcs.
IsEmpty
)
76
if (start.IsEpsilonTransition && start.IsPropertylessTransition && startEndState != null && startEndState.InArcs.
IsEmpty
)
88
if (end.IsEpsilonTransition && end.IsPropertylessTransition && endStartState != null && endStartState.OutArcs.
IsEmpty
)
Internal\SrgsCompiler\Rule.cs (1)
145
_cfgRule.FirstArcIndex = _firstState != null && !_firstState.OutArcs.
IsEmpty
? (uint)_firstState.SerializeId : 0;
Internal\SrgsCompiler\State.cs (2)
406
Arc? arc1 = state1._outArcs != null && !state1._outArcs.
IsEmpty
? state1._outArcs.First : null;
407
Arc? arc2 = state2._outArcs != null && !state2._outArcs.
IsEmpty
? state2._outArcs.First : null;