46 references to Length
System.Private.Xml (46)
System\Xml\Schema\DtdValidator.cs (1)
517
if (_validationStack.
Length
> 1)
System\Xml\Schema\XdrBuilder.cs (3)
602
_StateHistory[_StateHistory.
Length
- 1] = _CurState;
617
_GroupStack[_GroupStack.
Length
- 1] = GroupContent.Copy(_GroupDef);
1024
ad._Global = (builder._StateHistory.
Length
== 2);
System\Xml\Schema\XdrValidator.cs (1)
669
if (_validationStack.
Length
> 1)
System\Xml\Schema\XmlSchemaValidator.cs (16)
236
while (_validationStack.
Length
> 1)
498
ValidatorState toState = _validationStack.
Length
> 1 ? ValidatorState.Attribute : ValidatorState.TopLevelAttribute;
741
ValidatorState toState = _validationStack.
Length
> 1 ? ValidatorState.Text : ValidatorState.TopLevelTextOrWS;
820
ValidatorState toState = _validationStack.
Length
> 1 ? ValidatorState.Whitespace : ValidatorState.TopLevelTextOrWS;
887
if (_validationStack.
Length
<= 1)
920
if (_validationStack.
Length
> 1)
1169
if (_validationStack.
Length
<= 1)
1547
Debug.Assert(_validationStack.
Length
> 1);
1550
if (_startIDConstraint == _validationStack.
Length
)
2175
for (int level = _validationStack.
Length
- 1; level >= ((_startIDConstraint >= 0) ? _startIDConstraint : _validationStack.
Length
- 1); level--)
2214
_startIDConstraint = _validationStack.
Length
- 1;
2224
for (int i = _startIDConstraint; i < _validationStack.
Length
; i++)
2279
for (int ci = _startIDConstraint; ci < _validationStack.
Length
; ci++)
2325
for (int ci = _validationStack.
Length
- 1; ci >= _startIDConstraint; ci--)
2448
ConstraintStruct[]? vcs = ((ValidationState)(_validationStack[_validationStack.
Length
- 1])).Constr;
System\Xml\Schema\XsdBuilder.cs (2)
815
_stateHistory[_stateHistory.
Length
- 1] = _currentEntry;
838
get { return ((XsdEntry)_stateHistory[_stateHistory.
Length
- 1]).Name; }
System\Xml\Schema\XsdValidator.cs (9)
796
if (_validationStack.
Length
> 1)
799
if (_startIDConstraint == _validationStack.
Length
)
865
for (int level = _validationStack.
Length
- 1; level >= ((_startIDConstraint >= 0) ? _startIDConstraint : _validationStack.
Length
- 1); level--)
904
_startIDConstraint = _validationStack.
Length
- 1;
910
for (int i = _startIDConstraint; i < _validationStack.
Length
; i++)
965
for (int ci = _startIDConstraint; ci < _validationStack.
Length
; ci++)
1019
for (int ci = _validationStack.
Length
- 1; ci >= _startIDConstraint; ci--)
1128
ConstraintStruct[] vcs = ((ValidationState)(_validationStack[_validationStack.
Length
- 1])).Constr!;
System\Xml\Xsl\XsltOld\OutputScopeManager.cs (3)
133
for (int i = _elementScopesStack.
Length
- 1; i >= 0; i--)
141
thisScope = (i == _elementScopesStack.
Length
- 1);
153
for (int i = _elementScopesStack.
Length
- 1; 0 <= i; i--)
System\Xml\Xsl\XsltOld\Processor.cs (11)
1005
int saveStackSize = _actionStack.
Length
;
1016
} while (saveStackSize < _actionStack.
Length
);
1017
Debug.Assert(saveStackSize == _actionStack.
Length
);
1030
Debug.Assert(1 < _actionStack.
Length
);
1031
ActionFrame parentFrame = (ActionFrame)_actionStack[_actionStack.
Length
- 2];
1037
ActionFrame frame = (ActionFrame)_actionStack[_actionStack.
Length
- 1];
1043
Debug.Assert(2 < _actionStack.
Length
);
1044
ActionFrame parentFrame = (ActionFrame)_actionStack[_actionStack.
Length
- 3];
1086
Debug.Assert(2 <= _debuggerStack!.
Length
);
1087
return ((DebuggerFrame)_debuggerStack[_debuggerStack.
Length
- 2]!).currentMode;
1093
((DebuggerFrame)_debuggerStack![_debuggerStack.
Length
- 1]).currentMode = mode;