4 writes to _counter
Microsoft.VisualBasic.Core (4)
Microsoft\VisualBasic\CompilerServices\ObjectFlowControl.vb (4)
221
loopFor.
_counter
= ConvertLoopElement("Start", Start, startType, loopFor._widestType)
299
loopFor.
_counter
= Operators.AddObject(Counter, loopFor._stepValue)
318
loopFor.
_counter
= Operators.InvokeUserDefinedOperator(
325
loopFor.
_counter
= ConvertLoopElement("Start", loopFor._counter, loopFor._counter.GetType(), loopFor._widestType)
17 references to _counter
Microsoft.VisualBasic.Core (17)
Microsoft\VisualBasic\CompilerServices\ObjectFlowControl.vb (17)
227
loopFor._operatorPlus = VerifyForLoopOperator(UserDefinedOperator.Plus, loopFor.
_counter
, loopFor._widestType)
228
VerifyForLoopOperator(UserDefinedOperator.Minus, loopFor.
_counter
, loopFor._widestType)
229
loopFor._operatorLessEqual = VerifyForLoopOperator(UserDefinedOperator.LessEqual, loopFor.
_counter
, loopFor._widestType)
230
loopFor._operatorGreaterEqual = VerifyForLoopOperator(UserDefinedOperator.GreaterEqual, loopFor.
_counter
, loopFor._widestType)
242
CounterResult = System.Enum.ToObject(loopFor._enumType, loopFor.
_counter
)
244
CounterResult = loopFor.
_counter
301
Dim resultTypeCode As TypeCode = loopFor.
_counter
.GetType.GetTypeCode ' CType(LoopFor.Counter, IConvertible).GetTypeCode()
304
CounterResult = System.Enum.ToObject(loopFor._enumType, loopFor.
_counter
)
306
CounterResult = loopFor.
_counter
324
If loopFor.
_counter
.GetType() IsNot loopFor._widestType Then
325
loopFor._counter = ConvertLoopElement("Start", loopFor.
_counter
, loopFor.
_counter
.GetType(), loopFor._widestType)
328
CounterResult = loopFor.
_counter
369
icompare = CType(loopFor.
_counter
, IComparable)
379
Throw New ArgumentException(SR.Format(SR.Argument_IComparable2, "loop control variable", VBFriendlyName(loopFor.
_counter
)))
386
loopFor.
_counter
,
392
loopFor.
_counter
,