@@ -260,7 +260,7 @@ public bool NegativeForFrames(int duration)
260260 throw
261261 new System . ArgumentOutOfRangeException ( "durationFrames" , ValueMustNotBeNegative ( "durationFrames" ) ) ;
262262 return
263- Negative && duration >= frame ;
263+ Negative && duration >= GetNegativeDurationFrames ( ) ;
264264 }
265265
266266 /// <summary>
@@ -283,7 +283,7 @@ public bool NegativeForSeconds(float duration)
283283 throw
284284 new System . ArgumentOutOfRangeException ( "duration" , ValueMustNotBeNegative ( "duration" ) ) ;
285285 return
286- Negative && duration >= time ;
286+ Negative && duration >= GetNegativeDurationSeconds ( ) ;
287287 }
288288
289289 /// <summary>
@@ -305,7 +305,7 @@ public bool NeutralForFrames(int duration)
305305 throw
306306 new System . ArgumentOutOfRangeException ( "durationFrames" , ValueMustNotBeNegative ( "durationFrames" ) ) ;
307307 return
308- Neutral && duration >= frame ;
308+ Neutral && duration >= GetNeutralDurationFrames ( ) ;
309309 }
310310
311311 /// <summary>
@@ -328,7 +328,7 @@ public bool NeutralForSeconds(float duration)
328328 new System . ArgumentOutOfRangeException ( "durationSeconds" ,
329329 ValueMustNotBeNegative ( "durationSeconds" ) ) ;
330330 return
331- Neutral && duration >= time ;
331+ Neutral && duration >= GetNeutralDurationSeconds ( ) ;
332332 }
333333
334334 /// <summary>
@@ -350,7 +350,7 @@ public bool PositiveForFrames(int duration)
350350 throw
351351 new System . ArgumentOutOfRangeException ( "durationFrames" , ValueMustNotBeNegative ( "durationFrames" ) ) ;
352352 return
353- Positive && duration >= frame ;
353+ Positive && duration >= GetPositiveDurationFrames ( ) ;
354354 }
355355
356356 /// <summary>
@@ -374,7 +374,7 @@ public bool PositiveForSeconds(float duration)
374374 new System . ArgumentOutOfRangeException ( "durationSeconds" ,
375375 ValueMustNotBeNegative ( "durationSeconds" ) ) ;
376376 return
377- Positive && duration >= time ;
377+ Positive && duration >= GetPositiveDurationSeconds ( ) ;
378378 }
379379
380380 /// <summary>
0 commit comments