13 references to InvalidIndex
System (4)
compmod\system\componentmodel\MaskedTextProvider.cs (4)
2761
int lastLiteralPos = includeLiterals ? FindNonEditPositionInRange( startPosition, lastPosition, backward ) :
InvalidIndex
;
2762
int lastAssignedPos = FindAssignedEditPositionInRange( lastLiteralPos ==
InvalidIndex
? startPosition : lastLiteralPos, lastPosition, backward );
2769
lastPosition = lastAssignedPos !=
InvalidIndex
? lastAssignedPos : lastLiteralPos;
2771
if( lastPosition ==
InvalidIndex
)
System.Windows.Forms (9)
winforms\Managed\System\WinForms\MaskedTextBox.cs (9)
1770
if( this.maskedTextProvider.FindAssignedEditPositionFrom( startPosition, forward ) == MaskedTextProvider.
InvalidIndex
)
1783
if( this.caretTestPos != MaskedTextProvider.
InvalidIndex
)
1789
if( this.caretTestPos == MaskedTextProvider.
InvalidIndex
)
1869
if( pos == MaskedTextProvider.
InvalidIndex
)
2230
if (editPos == MaskedTextProvider.
InvalidIndex
)
2429
if( testPos == MaskedTextProvider.
InvalidIndex
)
2812
Debug.Assert( srcPos != MaskedTextProvider.
InvalidIndex
, "InvalidIndex unexpected at this time." );
2822
if (dstPos == MaskedTextProvider.
InvalidIndex
)
3096
if( startEditPos != MaskedTextProvider.
InvalidIndex
)