2 writes to _captureBehavior
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\Behavior\BehaviorService.cs (2)
449
_captureBehavior
= behavior;
472
_captureBehavior
= null;
8 references to _captureBehavior
System.Windows.Forms.Design (8)
System\Windows\Forms\Design\Behavior\BehaviorService.cs (8)
110
internal bool HasCapture =>
_captureBehavior
is not null;
402
if (behavior ==
_captureBehavior
)
407
if (
_captureBehavior
is not null)
410
Debug.Assert(
_captureBehavior
is null, "OnLostCapture should have cleared captureBehavior");
435
if (
_captureBehavior
is not null &&
_captureBehavior
!= behavior)
469
if (
_captureBehavior
is not null)
471
Behavior b =
_captureBehavior
;