32 instantiations of BitVector32
Microsoft.CodeAnalysis.EditorFeatures (2)
IntelliSense\AsyncCompletion\FilterSet.cs (2)
40
private BitVector32 _vector = new
BitVector32
();
135
var vectorForSingleItem = new
BitVector32
();
PresentationFramework (6)
System\Windows\Controls\ComboBox.cs (1)
2015
private BitVector32 _cacheValid = new
BitVector32
(0); // Condense boolean bits
System\Windows\Controls\Primitives\MenuBase.cs (1)
932
private BitVector32 _bitFlags = new
BitVector32
(0);
System\Windows\Controls\Primitives\Popup.cs (1)
2922
private BitVector32 _cacheValid = new
BitVector32
(0); // Condense boolean bits
System\Windows\Controls\Primitives\Selector.cs (1)
2209
private BitVector32 _cacheValid = new
BitVector32
((int)CacheBits.CanSelectMultiple);
System\Windows\Controls\TreeView.cs (1)
871
private BitVector32 _bits = new
BitVector32
(0);
System\Windows\Interop\ActiveXHost.cs (1)
1045
private BitVector32 _axHostState = new
BitVector32
();
System.Windows.Controls.Ribbon (12)
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (1)
487
private BitVector32 _bits = new
BitVector32
(0);
Microsoft\Windows\Controls\Ribbon\RibbonCheckBox.cs (1)
504
private BitVector32 _bits = new
BitVector32
(0);
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (1)
1686
private BitVector32 _cacheValid = new
BitVector32
(0); // Condense boolean bits
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
3221
private BitVector32 _bits = new
BitVector32
((int)Bits.CanExecute | (int)Bits.ShouldExecuteCommand | (int)Bits.ShouldGalleryItemsAcquireFocus);
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (1)
715
private BitVector32 _bits = new
BitVector32
(0);
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
1370
private BitVector32 _bits = new
BitVector32
(0);
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
1328
private BitVector32 _bits = new
BitVector32
(0);
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
1590
private BitVector32 _bits = new
BitVector32
(0);
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (1)
51
private BitVector32 _bits = new
BitVector32
(0);
Microsoft\Windows\Controls\Ribbon\RibbonRadioButton.cs (1)
520
private BitVector32 _bits = new
BitVector32
(0);
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (1)
621
private BitVector32 _bits = new
BitVector32
((int)Bits.CanExecute);
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (1)
527
private BitVector32 _bits = new
BitVector32
(0);
System.Windows.Forms (12)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (3)
397
_dataGridViewState1 = new
BitVector32
(0x00000000);
398
_dataGridViewState2 = new
BitVector32
(0x00000000);
399
_dataGridViewOper = new
BitVector32
(0x00000000);
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (2)
80
_dataConnectionState = new
BitVector32
(DATACONNECTIONSTATE_finishedAddNew);
1020
_dataConnectionState = new
BitVector32
(DATACONNECTIONSTATE_finishedAddNew);
System\Windows\Forms\Controls\ListView\ListView.cs (2)
222
_listViewState = new Collections.Specialized.
BitVector32
(listViewStateFlags);
224
_listViewState1 = new Collections.Specialized.
BitVector32
(LISTVIEWSTATE1_useCompatibleStateImageBehavior);
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
108
_pictureBoxState = new
BitVector32
(UseDefaultErrorImageState | UseDefaultInitialImageState);
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
82
_tabControlState = new
BitVector32
(0x00000000);
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
157
_treeViewState = new Collections.Specialized.
BitVector32
(
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (1)
57
_webBrowserState = new Collections.Specialized.
BitVector32
(WEBBROWSERSTATE_isWebBrowserContextMenuEnabled |
System\Windows\Forms\Form.cs (1)
144
private BitVector32 _formState =
new
(0x21338); // magic value... all the defaults... see the ctor for details...
511 references to BitVector32
Microsoft.CodeAnalysis.EditorFeatures (4)
IntelliSense\AsyncCompletion\FilterSet.cs (4)
40
private
BitVector32
_vector = new BitVector32();
97
s_expanderMask =
BitVector32
.CreateMask(previousMask);
108
previousMask =
BitVector32
.CreateMask(previousMask);
135
var
vectorForSingleItem = new BitVector32();
netstandard (1)
netstandard.cs (1)
155
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Specialized.
BitVector32
))]
PresentationBuildTasks (51)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\BamlRecords.cs (51)
948
internal
BitVector32
_flags;
952
private static
BitVector32
.Section _pinnedFlagSection =
BitVector32
.CreateSection( 3 /* Allocates two bits to store values up to 3 */ );
955
internal static
BitVector32
.Section LastFlagsSection
1130
internal new static
BitVector32
.Section LastFlagsSection
1331
private static
BitVector32
.Section _assemblyIdLowSection
1332
=
BitVector32
.CreateSection( (short)0xff, BamlVariableSizedRecord.LastFlagsSection );
1334
private static
BitVector32
.Section _assemblyIdHighSection
1335
=
BitVector32
.CreateSection( (short)0xff, _assemblyIdLowSection );
1601
private static
BitVector32
.Section _sharedSection
1602
=
BitVector32
.CreateSection( 1, BamlElementStartRecord.LastFlagsSection );
1604
private static
BitVector32
.Section _sharedSetSection
1605
=
BitVector32
.CreateSection( 1, _sharedSection );
1759
private static
BitVector32
.Section _sharedSection
1760
=
BitVector32
.CreateSection( 1, BamlStringValueRecord.LastFlagsSection );
1762
private static
BitVector32
.Section _sharedSetSection
1763
=
BitVector32
.CreateSection( 1, _sharedSection );
2425
private static
BitVector32
.Section _isValueTypeExtensionSection
2426
=
BitVector32
.CreateSection(1, BamlRecord.LastFlagsSection);
2428
private static
BitVector32
.Section _isValueStaticExtensionSection
2429
=
BitVector32
.CreateSection(1, _isValueTypeExtensionSection);
3302
private static
BitVector32
.Section _typeIdLowSection
3303
=
BitVector32
.CreateSection( (short)0xff, BamlRecord.LastFlagsSection );
3305
private static
BitVector32
.Section _typeIdHighSection
3306
=
BitVector32
.CreateSection( (short)0xff, _typeIdLowSection );
3308
private static
BitVector32
.Section _useTypeConverter
3309
=
BitVector32
.CreateSection( 1, _typeIdHighSection );
3311
private static
BitVector32
.Section _isInjected
3312
=
BitVector32
.CreateSection( 1, _useTypeConverter );
3316
internal new static
BitVector32
.Section LastFlagsSection
3666
private static
BitVector32
.Section _isValueTypeExtensionSection
3667
=
BitVector32
.CreateSection(1, BamlRecord.LastFlagsSection);
3669
private static
BitVector32
.Section _isValueStaticExtensionSection
3670
=
BitVector32
.CreateSection(1, _isValueTypeExtensionSection);
3673
internal new static
BitVector32
.Section LastFlagsSection
4215
private static
BitVector32
.Section _assemblyIdLowSection
4216
=
BitVector32
.CreateSection( (short)0xff, BamlVariableSizedRecord.LastFlagsSection );
4218
private static
BitVector32
.Section _assemblyIdHighSection
4219
=
BitVector32
.CreateSection( (short)0xff, _assemblyIdLowSection );
4428
private static
BitVector32
.Section _typeIdLowSection
4429
=
BitVector32
.CreateSection( (short)0xff, BamlVariableSizedRecord.LastFlagsSection );
4431
private static
BitVector32
.Section _typeIdHighSection
4432
=
BitVector32
.CreateSection( (short)0xff, _typeIdLowSection );
4909
private static
BitVector32
.Section _isInternalSection
4910
=
BitVector32
.CreateSection( 1, BamlVariableSizedRecord.LastFlagsSection );
4912
private static
BitVector32
.Section _attributeUsageSection
4913
=
BitVector32
.CreateSection( 3, _isInternalSection );
5048
private static
BitVector32
.Section _stringIdLowSection
5049
=
BitVector32
.CreateSection( (short)0xff, BamlVariableSizedRecord.LastFlagsSection );
5051
private static
BitVector32
.Section _stringIdHighSection
5052
=
BitVector32
.CreateSection( (short)0xff, _stringIdLowSection );
PresentationCore (1)
System\Windows\RoutedEventArgs.cs (1)
373
private
BitVector32
_flags;
PresentationFramework (75)
MS\Internal\Controls\ActiveXHelper.cs (3)
47
public static readonly int sinkAttached =
BitVector32
.CreateMask();
48
public static readonly int inTransition =
BitVector32
.CreateMask(sinkAttached);
49
public static readonly int processingKeyUp =
BitVector32
.CreateMask(inTransition);
System\Windows\Controls\ComboBox.cs (1)
2015
private
BitVector32
_cacheValid = new BitVector32(0); // Condense boolean bits
System\Windows\Controls\Primitives\MenuBase.cs (1)
932
private
BitVector32
_bitFlags = new BitVector32(0);
System\Windows\Controls\Primitives\Popup.cs (1)
2922
private
BitVector32
_cacheValid = new BitVector32(0); // Condense boolean bits
System\Windows\Controls\Primitives\Selector.cs (1)
2209
private
BitVector32
_cacheValid = new BitVector32((int)CacheBits.CanSelectMultiple);
System\Windows\Controls\TreeView.cs (1)
871
private
BitVector32
_bits = new BitVector32(0);
System\Windows\Interop\ActiveXHost.cs (1)
1045
private
BitVector32
_axHostState = new BitVector32();
System\Windows\Markup\BamlRecords.cs (66)
948
internal
BitVector32
_flags;
952
private static
BitVector32
.Section _pinnedFlagSection =
BitVector32
.CreateSection( 3 /* Allocates two bits to store values up to 3 */ );
955
internal static
BitVector32
.Section LastFlagsSection
1130
internal new static
BitVector32
.Section LastFlagsSection
1331
private static
BitVector32
.Section _assemblyIdLowSection
1332
=
BitVector32
.CreateSection( (short)0xff, BamlVariableSizedRecord.LastFlagsSection );
1334
private static
BitVector32
.Section _assemblyIdHighSection
1335
=
BitVector32
.CreateSection( (short)0xff, _assemblyIdLowSection );
1339
internal new static
BitVector32
.Section LastFlagsSection
1601
private static
BitVector32
.Section _sharedSection
1602
=
BitVector32
.CreateSection( 1, BamlElementStartRecord.LastFlagsSection );
1604
private static
BitVector32
.Section _sharedSetSection
1605
=
BitVector32
.CreateSection( 1, _sharedSection );
1609
internal new static
BitVector32
.Section LastFlagsSection
1759
private static
BitVector32
.Section _sharedSection
1760
=
BitVector32
.CreateSection( 1, BamlStringValueRecord.LastFlagsSection );
1762
private static
BitVector32
.Section _sharedSetSection
1763
=
BitVector32
.CreateSection( 1, _sharedSection );
1767
internal new static
BitVector32
.Section LastFlagsSection
2425
private static
BitVector32
.Section _isValueTypeExtensionSection
2426
=
BitVector32
.CreateSection(1, BamlRecord.LastFlagsSection);
2428
private static
BitVector32
.Section _isValueStaticExtensionSection
2429
=
BitVector32
.CreateSection(1, _isValueTypeExtensionSection);
2433
internal new static
BitVector32
.Section LastFlagsSection
2874
private static
BitVector32
.Section _isValueSetSection
2875
=
BitVector32
.CreateSection(1, BamlVariableSizedRecord.LastFlagsSection);
2878
private static
BitVector32
.Section _isValueTypeIdSection
2879
=
BitVector32
.CreateSection(1, _isValueSetSection);
2882
private static
BitVector32
.Section _isRawEnumValueSetSection
2883
=
BitVector32
.CreateSection(1, _isValueTypeIdSection);
2886
internal new static
BitVector32
.Section LastFlagsSection
3302
private static
BitVector32
.Section _typeIdLowSection
3303
=
BitVector32
.CreateSection( (short)0xff, BamlRecord.LastFlagsSection );
3305
private static
BitVector32
.Section _typeIdHighSection
3306
=
BitVector32
.CreateSection( (short)0xff, _typeIdLowSection );
3308
private static
BitVector32
.Section _useTypeConverter
3309
=
BitVector32
.CreateSection( 1, _typeIdHighSection );
3311
private static
BitVector32
.Section _isInjected
3312
=
BitVector32
.CreateSection( 1, _useTypeConverter );
3316
internal new static
BitVector32
.Section LastFlagsSection
3666
private static
BitVector32
.Section _isValueTypeExtensionSection
3667
=
BitVector32
.CreateSection(1, BamlRecord.LastFlagsSection);
3669
private static
BitVector32
.Section _isValueStaticExtensionSection
3670
=
BitVector32
.CreateSection(1, _isValueTypeExtensionSection);
3673
internal new static
BitVector32
.Section LastFlagsSection
4215
private static
BitVector32
.Section _assemblyIdLowSection
4216
=
BitVector32
.CreateSection( (short)0xff, BamlVariableSizedRecord.LastFlagsSection );
4218
private static
BitVector32
.Section _assemblyIdHighSection
4219
=
BitVector32
.CreateSection( (short)0xff, _assemblyIdLowSection );
4223
internal new static
BitVector32
.Section LastFlagsSection
4428
private static
BitVector32
.Section _typeIdLowSection
4429
=
BitVector32
.CreateSection( (short)0xff, BamlVariableSizedRecord.LastFlagsSection );
4431
private static
BitVector32
.Section _typeIdHighSection
4432
=
BitVector32
.CreateSection( (short)0xff, _typeIdLowSection );
4436
internal new static
BitVector32
.Section LastFlagsSection
4909
private static
BitVector32
.Section _isInternalSection
4910
=
BitVector32
.CreateSection( 1, BamlVariableSizedRecord.LastFlagsSection );
4912
private static
BitVector32
.Section _attributeUsageSection
4913
=
BitVector32
.CreateSection( 3, _isInternalSection );
4917
internal new static
BitVector32
.Section LastFlagsSection
5048
private static
BitVector32
.Section _stringIdLowSection
5049
=
BitVector32
.CreateSection( (short)0xff, BamlVariableSizedRecord.LastFlagsSection );
5051
private static
BitVector32
.Section _stringIdHighSection
5052
=
BitVector32
.CreateSection( (short)0xff, _stringIdLowSection );
5056
internal new static
BitVector32
.Section LastFlagsSection
System (1)
src\libraries\shims\System\ref\System.cs (1)
144
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Specialized.
BitVector32
))]
System.Collections.Specialized (5)
System\Collections\Specialized\BitVector32.cs (5)
13
public struct BitVector32 : IEquatable<
BitVector32
>
29
public BitVector32(
BitVector32
value)
151
public override bool Equals([NotNullWhen(true)] object? o) => o is
BitVector32
other && Equals(other);
156
public bool Equals(
BitVector32
other) => _data == other._data;
160
public static string ToString(
BitVector32
value)
System.ComponentModel.TypeConverter (9)
System\ComponentModel\InterlockedBitVector32.cs (1)
11
/// Provides a subset of the <see cref="System.Collections.Specialized.
BitVector32
"/> surface area, using volatile
System\ComponentModel\MaskedTextProvider.cs (8)
112
private static readonly int s_ASCII_ONLY =
BitVector32
.CreateMask();
113
private static readonly int s_ALLOW_PROMPT_AS_INPUT =
BitVector32
.CreateMask(s_ASCII_ONLY);
114
private static readonly int s_INCLUDE_PROMPT =
BitVector32
.CreateMask(s_ALLOW_PROMPT_AS_INPUT);
115
private static readonly int s_INCLUDE_LITERALS =
BitVector32
.CreateMask(s_INCLUDE_PROMPT);
116
private static readonly int s_RESET_ON_PROMPT =
BitVector32
.CreateMask(s_INCLUDE_LITERALS);
117
private static readonly int s_RESET_ON_LITERALS =
BitVector32
.CreateMask(s_RESET_ON_PROMPT);
118
private static readonly int s_SKIP_SPACE =
BitVector32
.CreateMask(s_RESET_ON_LITERALS);
123
private
BitVector32
_flagState;
System.Windows.Controls.Ribbon (12)
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (1)
487
private
BitVector32
_bits = new BitVector32(0);
Microsoft\Windows\Controls\Ribbon\RibbonCheckBox.cs (1)
504
private
BitVector32
_bits = new BitVector32(0);
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (1)
1686
private
BitVector32
_cacheValid = new BitVector32(0); // Condense boolean bits
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
3221
private
BitVector32
_bits = new BitVector32((int)Bits.CanExecute | (int)Bits.ShouldExecuteCommand | (int)Bits.ShouldGalleryItemsAcquireFocus);
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (1)
715
private
BitVector32
_bits = new BitVector32(0);
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
1370
private
BitVector32
_bits = new BitVector32(0);
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
1328
private
BitVector32
_bits = new BitVector32(0);
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
1590
private
BitVector32
_bits = new BitVector32(0);
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (1)
51
private
BitVector32
_bits = new BitVector32(0);
Microsoft\Windows\Controls\Ribbon\RibbonRadioButton.cs (1)
520
private
BitVector32
_bits = new BitVector32(0);
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (1)
621
private
BitVector32
_bits = new BitVector32((int)Bits.CanExecute);
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (1)
527
private
BitVector32
_bits = new BitVector32(0);
System.Windows.Forms (328)
System\Windows\Forms\ActiveX\AxHost.cs (23)
68
private static readonly int s_ocxStateSet =
BitVector32
.CreateMask();
69
private static readonly int s_editorRefresh =
BitVector32
.CreateMask(s_ocxStateSet);
70
private static readonly int s_listeningToIdle =
BitVector32
.CreateMask(s_editorRefresh);
71
private static readonly int s_refreshProperties =
BitVector32
.CreateMask(s_listeningToIdle);
74
private static readonly int s_fNeedOwnWindow =
BitVector32
.CreateMask(s_refreshProperties);
77
private static readonly int s_fOwnWindow =
BitVector32
.CreateMask(s_fNeedOwnWindow);
79
private static readonly int s_fSimpleFrame =
BitVector32
.CreateMask(s_fOwnWindow);
80
private static readonly int s_fFakingWindow =
BitVector32
.CreateMask(s_fSimpleFrame);
81
private static readonly int s_rejectSelection =
BitVector32
.CreateMask(s_fFakingWindow);
82
private static readonly int s_ownDisposing =
BitVector32
.CreateMask(s_rejectSelection);
84
private static readonly int s_sinkAttached =
BitVector32
.CreateMask(s_ownDisposing);
85
private static readonly int s_disposed =
BitVector32
.CreateMask(s_sinkAttached);
86
private static readonly int s_manualUpdate =
BitVector32
.CreateMask(s_disposed);
87
private static readonly int s_addedSelectionHandler =
BitVector32
.CreateMask(s_manualUpdate);
89
private static readonly int s_valueChanged =
BitVector32
.CreateMask(s_addedSelectionHandler);
90
private static readonly int s_handlePosRectChanged =
BitVector32
.CreateMask(s_valueChanged);
91
private static readonly int s_siteProcessedInputKey =
BitVector32
.CreateMask(s_handlePosRectChanged);
92
private static readonly int s_needLicenseKey =
BitVector32
.CreateMask(s_siteProcessedInputKey);
94
private static readonly int s_inTransition =
BitVector32
.CreateMask(s_needLicenseKey);
95
private static readonly int s_processingKeyUp =
BitVector32
.CreateMask(s_inTransition);
96
private static readonly int s_assignUniqueID =
BitVector32
.CreateMask(s_processingKeyUp);
97
private static readonly int s_renameEventHooked =
BitVector32
.CreateMask(s_assignUniqueID);
99
private
BitVector32
_axState;
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (12)
109
private static readonly int s_viewAdviseOnlyOnce =
BitVector32
.CreateMask();
110
private static readonly int s_viewAdvisePrimeFirst =
BitVector32
.CreateMask(s_viewAdviseOnlyOnce);
111
private static readonly int s_eventsFrozen =
BitVector32
.CreateMask(s_viewAdvisePrimeFirst);
112
private static readonly int s_changingExtents =
BitVector32
.CreateMask(s_eventsFrozen);
113
private static readonly int s_saving =
BitVector32
.CreateMask(s_changingExtents);
114
private static readonly int s_isDirty =
BitVector32
.CreateMask(s_saving);
115
private static readonly int s_inPlaceActive =
BitVector32
.CreateMask(s_isDirty);
116
private static readonly int s_inPlaceVisible =
BitVector32
.CreateMask(s_inPlaceActive);
117
private static readonly int s_uiActive =
BitVector32
.CreateMask(s_inPlaceVisible);
118
private static readonly int s_uiDead =
BitVector32
.CreateMask(s_uiActive);
119
private static readonly int s_adjustingRect =
BitVector32
.CreateMask(s_uiDead);
134
private
BitVector32
_activeXState;
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (4)
15
private static readonly int s_combineCheck =
BitVector32
.CreateMask();
16
private static readonly int s_combineImageText =
BitVector32
.CreateMask(s_combineCheck);
177
BitVector32
action = default;
240
BitVector32
action = default;
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (3)
238
private
BitVector32
_dataGridViewState1; // see State1_ constants above
239
private
BitVector32
_dataGridViewState2; // see State2_ constants above
240
private
BitVector32
_dataGridViewOper; // see Operation constants above
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (1)
21
private
BitVector32
_dataConnectionState;
System\Windows\Forms\Controls\Labels\Label.cs (13)
31
private static readonly
BitVector32
.Section s_stateUseMnemonic =
BitVector32
.CreateSection(1);
32
private static readonly
BitVector32
.Section s_stateAutoSize =
BitVector32
.CreateSection(1, s_stateUseMnemonic);
33
private static readonly
BitVector32
.Section s_stateAnimating =
BitVector32
.CreateSection(1, s_stateAutoSize);
34
private static readonly
BitVector32
.Section s_stateFlatStyle =
BitVector32
.CreateSection((int)FlatStyle.System, s_stateAnimating);
35
private static readonly
BitVector32
.Section s_stateBorderStyle =
BitVector32
.CreateSection((int)BorderStyle.Fixed3D, s_stateFlatStyle);
36
private static readonly
BitVector32
.Section s_stateAutoEllipsis =
BitVector32
.CreateSection(1, s_stateBorderStyle);
45
private
BitVector32
_labelState;
System\Windows\Forms\Controls\ListView\ListView.cs (2)
101
private Collections.Specialized.
BitVector32
_listViewState; // see LISTVIEWSTATE_ constants above
102
private Collections.Specialized.
BitVector32
_listViewState1; // see LISTVIEWSTATE1_ constants above
System\Windows\Forms\Controls\ListView\ListViewItem.cs (11)
26
private static readonly
BitVector32
.Section s_stateSelectedSection =
BitVector32
.CreateSection(1);
27
private static readonly
BitVector32
.Section s_stateImageMaskSet =
BitVector32
.CreateSection(1, s_stateSelectedSection);
28
private static readonly
BitVector32
.Section s_stateWholeRowOneStyleSection =
BitVector32
.CreateSection(1, s_stateImageMaskSet);
29
private static readonly
BitVector32
.Section s_savedStateImageIndexSection =
BitVector32
.CreateSection(15, s_stateWholeRowOneStyleSection);
30
private static readonly
BitVector32
.Section s_subItemCountSection =
BitVector32
.CreateSection(MaxSubItems, s_savedStateImageIndexSection);
49
private
BitVector32
_state;
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
90
private
BitVector32
_pictureBoxState; // see PICTUREBOXSTATE_ constants above
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (27)
80
private
BitVector32
_richTextBoxFlags;
81
private static readonly
BitVector32
.Section s_autoWordSelectionSection =
BitVector32
.CreateSection(1);
82
private static readonly
BitVector32
.Section s_showSelBarSection =
BitVector32
.CreateSection(1, s_autoWordSelectionSection);
83
private static readonly
BitVector32
.Section s_autoUrlDetectSection =
BitVector32
.CreateSection(1, s_showSelBarSection);
84
private static readonly
BitVector32
.Section s_fInCtorSection =
BitVector32
.CreateSection(1, s_autoUrlDetectSection);
85
private static readonly
BitVector32
.Section s_protectedErrorSection =
BitVector32
.CreateSection(1, s_fInCtorSection);
86
private static readonly
BitVector32
.Section s_linkcursorSection =
BitVector32
.CreateSection(1, s_protectedErrorSection);
87
private static readonly
BitVector32
.Section s_allowOleDropSection =
BitVector32
.CreateSection(1, s_linkcursorSection);
88
private static readonly
BitVector32
.Section s_suppressTextChangedEventSection =
BitVector32
.CreateSection(1, s_allowOleDropSection);
89
private static readonly
BitVector32
.Section s_callOnContentsResizedSection =
BitVector32
.CreateSection(1, s_suppressTextChangedEventSection);
90
private static readonly
BitVector32
.Section s_richTextShortcutsEnabledSection =
BitVector32
.CreateSection(1, s_callOnContentsResizedSection);
91
private static readonly
BitVector32
.Section s_allowOleObjectsSection =
BitVector32
.CreateSection(1, s_richTextShortcutsEnabledSection);
92
private static readonly
BitVector32
.Section s_scrollBarsSection =
BitVector32
.CreateSection((short)RichTextBoxScrollBars.ForcedBoth, s_allowOleObjectsSection);
93
private static readonly
BitVector32
.Section s_enableAutoDragDropSection =
BitVector32
.CreateSection(1, s_scrollBarsSection);
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
53
private
BitVector32
_tabControlState;
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (13)
63
private static readonly int s_imeEndingComposition =
BitVector32
.CreateMask();
66
private static readonly int s_imeCompleting =
BitVector32
.CreateMask(s_imeEndingComposition);
69
private static readonly int s_handleKeyPress =
BitVector32
.CreateMask(s_imeCompleting);
75
private static readonly int s_isNullMask =
BitVector32
.CreateMask(s_handleKeyPress);
80
private static readonly int s_queryBaseText =
BitVector32
.CreateMask(s_isNullMask);
86
private static readonly int s_rejectInputOnFirstFailure =
BitVector32
.CreateMask(s_queryBaseText);
89
private static readonly int s_hidePromptOnLeave =
BitVector32
.CreateMask(s_rejectInputOnFirstFailure);
90
private static readonly int s_beepOnError =
BitVector32
.CreateMask(s_hidePromptOnLeave);
91
private static readonly int s_useSystemPasswordChar =
BitVector32
.CreateMask(s_beepOnError);
92
private static readonly int s_insertToggled =
BitVector32
.CreateMask(s_useSystemPasswordChar);
93
private static readonly int s_cutCopyIncludePrompt =
BitVector32
.CreateMask(s_insertToggled);
94
private static readonly int s_cutCopyIncludeLiterals =
BitVector32
.CreateMask(s_cutCopyIncludePrompt);
106
private
BitVector32
_flagState;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (13)
30
private static readonly int s_autoSize =
BitVector32
.CreateMask();
31
private static readonly int s_hideSelection =
BitVector32
.CreateMask(s_autoSize);
32
private static readonly int s_multiline =
BitVector32
.CreateMask(s_hideSelection);
33
private static readonly int s_modified =
BitVector32
.CreateMask(s_multiline);
34
private static readonly int s_readOnly =
BitVector32
.CreateMask(s_modified);
35
private static readonly int s_acceptsTab =
BitVector32
.CreateMask(s_readOnly);
36
private static readonly int s_wordWrap =
BitVector32
.CreateMask(s_acceptsTab);
37
private static readonly int s_creatingHandle =
BitVector32
.CreateMask(s_wordWrap);
38
private static readonly int s_codeUpdateText =
BitVector32
.CreateMask(s_creatingHandle);
39
private static readonly int s_shortcutsEnabled =
BitVector32
.CreateMask(s_codeUpdateText);
40
private static readonly int s_scrollToCaretOnHandleCreated =
BitVector32
.CreateMask(s_shortcutsEnabled);
41
private static readonly int s_setSelectionOnHandleCreated =
BitVector32
.CreateMask(s_scrollToCaretOnHandleCreated);
83
private
BitVector32
_textBoxFlags;
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (3)
18
private
BitVector32
_state;
20
private static readonly int s_stateSizingGrip =
BitVector32
.CreateMask();
21
private static readonly int s_stateCalledSpringTableLayout =
BitVector32
.CreateMask(s_stateSizingGrip);
System\Windows\Forms\Controls\ToolStrips\ToolStripContentPanel.cs (2)
18
private
BitVector32
_state;
19
private static readonly int s_stateLastDoubleBuffer =
BitVector32
.CreateMask();
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (5)
20
private
BitVector32
_state;
38
private static readonly int s_stateLayered =
BitVector32
.CreateMask();
39
private static readonly int s_stateAllowTransparency =
BitVector32
.CreateMask(s_stateLayered);
40
private static readonly int s_stateNotWorkingAreaConstrained =
BitVector32
.CreateMask(s_stateAllowTransparency);
41
private static readonly int s_stateInSetVisibleCore =
BitVector32
.CreateMask(s_stateNotWorkingAreaConstrained);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (4)
28
private
BitVector32
_state;
30
private static readonly int s_stateShowImageMargin =
BitVector32
.CreateMask();
31
private static readonly int s_stateShowCheckMargin =
BitVector32
.CreateMask(s_stateShowImageMargin);
32
private static readonly int s_stateMaxItemSizeValid =
BitVector32
.CreateMask(s_stateShowCheckMargin);
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (4)
16
private
BitVector32
_options;
17
private static readonly int s_optionsDottedBorder =
BitVector32
.CreateMask();
18
private static readonly int s_optionsDottedGrip =
BitVector32
.CreateMask(s_optionsDottedBorder);
19
private static readonly int s_optionsFillWhenSelected =
BitVector32
.CreateMask(s_optionsDottedGrip);
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (22)
41
private
BitVector32
_state;
121
private static readonly int s_stateAllowDrop =
BitVector32
.CreateMask();
122
private static readonly int s_stateVisible =
BitVector32
.CreateMask(s_stateAllowDrop);
123
private static readonly int s_stateEnabled =
BitVector32
.CreateMask(s_stateVisible);
124
private static readonly int s_stateMouseDownAndNoDrag =
BitVector32
.CreateMask(s_stateEnabled);
125
private static readonly int s_stateAutoSize =
BitVector32
.CreateMask(s_stateMouseDownAndNoDrag);
126
private static readonly int s_statePressed =
BitVector32
.CreateMask(s_stateAutoSize);
127
private static readonly int s_stateSelected =
BitVector32
.CreateMask(s_statePressed);
128
private static readonly int s_stateConstructing =
BitVector32
.CreateMask(s_stateSelected);
129
private static readonly int s_stateDisposed =
BitVector32
.CreateMask(s_stateConstructing);
130
private static readonly int s_stateCurrentlyAnimatingImage =
BitVector32
.CreateMask(s_stateDisposed);
131
private static readonly int s_stateDoubleClickEnabled =
BitVector32
.CreateMask(s_stateCurrentlyAnimatingImage);
132
private static readonly int s_stateAutoToolTip =
BitVector32
.CreateMask(s_stateDoubleClickEnabled);
133
private static readonly int s_stateSupportsRightClick =
BitVector32
.CreateMask(s_stateAutoToolTip);
134
private static readonly int s_stateSupportsItemClick =
BitVector32
.CreateMask(s_stateSupportsRightClick);
135
private static readonly int s_stateRightToLeftAutoMirrorImage =
BitVector32
.CreateMask(s_stateSupportsItemClick);
136
private static readonly int s_stateInvalidMirroredImage =
BitVector32
.CreateMask(s_stateRightToLeftAutoMirrorImage);
137
private static readonly int s_stateSupportsSpaceKey =
BitVector32
.CreateMask(s_stateInvalidMirroredImage);
138
private static readonly int s_stateMouseDownAndUpMustBeInSameItem =
BitVector32
.CreateMask(s_stateSupportsSpaceKey);
139
private static readonly int s_stateSupportsDisabledHotTracking =
BitVector32
.CreateMask(s_stateMouseDownAndUpMustBeInSameItem);
140
private static readonly int s_stateUseAmbientMargin =
BitVector32
.CreateMask(s_stateSupportsDisabledHotTracking);
141
private static readonly int s_stateDisposing =
BitVector32
.CreateMask(s_stateUseAmbientMargin);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (8)
18
private
BitVector32
_state;
23
private static readonly int s_stateLocked =
BitVector32
.CreateMask();
24
private static readonly int s_stateBeginInit =
BitVector32
.CreateMask(s_stateLocked);
25
private static readonly int s_stateChangingZOrder =
BitVector32
.CreateMask(s_stateBeginInit);
26
private static readonly int s_stateInJoin =
BitVector32
.CreateMask(s_stateChangingZOrder);
27
private static readonly int s_stateEndInit =
BitVector32
.CreateMask(s_stateInJoin);
28
private static readonly int s_stateLayoutSuspended =
BitVector32
.CreateMask(s_stateEndInit);
29
private static readonly int s_stateRightToLeftChanged =
BitVector32
.CreateMask(s_stateLayoutSuspended);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (7)
18
private
BitVector32
_state;
24
private static readonly int s_stateVisible =
BitVector32
.CreateMask();
25
private static readonly int s_stateDisposing =
BitVector32
.CreateMask(s_stateVisible);
26
private static readonly int s_stateLocked =
BitVector32
.CreateMask(s_stateDisposing);
27
private static readonly int s_stateInitialized =
BitVector32
.CreateMask(s_stateLocked);
28
private static readonly int s_stateCachedBoundsMode =
BitVector32
.CreateMask(s_stateInitialized);
29
private static readonly int s_stateInLayout =
BitVector32
.CreateMask(s_stateCachedBoundsMode);
System\Windows\Forms\Controls\ToolStrips\ToolStripRendererSwitcher.cs (3)
12
private static readonly int s_stateUseDefaultRenderer =
BitVector32
.CreateMask();
13
private static readonly int s_stateAttachedRendererChanged =
BitVector32
.CreateMask(s_stateUseDefaultRenderer);
17
private
BitVector32
_state;
System\Windows\Forms\Controls\TreeView\TreeNode.cs (1)
45
private Collections.Specialized.
BitVector32
_treeNodeState;
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
78
private Collections.Specialized.
BitVector32
_treeViewState; // see TREEVIEWSTATE_ constants above
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (1)
47
private Collections.Specialized.
BitVector32
_webBrowserState; // see TREEVIEWSTATE_ constants above
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
37
private
BitVector32
_axHostState;
System\Windows\Forms\Controls\WebBrowser\WebBrowserHelper.cs (9)
23
internal static readonly int s_sinkAttached =
BitVector32
.CreateMask();
24
internal static readonly int s_manualUpdate =
BitVector32
.CreateMask(s_sinkAttached);
25
internal static readonly int s_setClientSiteFirst =
BitVector32
.CreateMask(s_manualUpdate);
26
internal static readonly int s_addedSelectionHandler =
BitVector32
.CreateMask(s_setClientSiteFirst);
27
internal static readonly int s_siteProcessedInputKey =
BitVector32
.CreateMask(s_addedSelectionHandler);
28
internal static readonly int s_inTransition =
BitVector32
.CreateMask(s_siteProcessedInputKey);
29
internal static readonly int s_processingKeyUp =
BitVector32
.CreateMask(s_inTransition);
30
internal static readonly int s_isMaskEdit =
BitVector32
.CreateMask(s_processingKeyUp);
31
internal static readonly int s_recomputeContainingControl =
BitVector32
.CreateMask(s_isMaskEdit);
System\Windows\Forms\Form.cs (82)
59
private static readonly
BitVector32
.Section s_formStateAllowTransparency =
BitVector32
.CreateSection(1);
60
private static readonly
BitVector32
.Section s_formStateBorderStyle =
BitVector32
.CreateSection(6, s_formStateAllowTransparency);
61
private static readonly
BitVector32
.Section s_formStateTaskBar =
BitVector32
.CreateSection(1, s_formStateBorderStyle);
62
private static readonly
BitVector32
.Section s_formStateControlBox =
BitVector32
.CreateSection(1, s_formStateTaskBar);
63
private static readonly
BitVector32
.Section s_formStateKeyPreview =
BitVector32
.CreateSection(1, s_formStateControlBox);
64
private static readonly
BitVector32
.Section s_formStateLayered =
BitVector32
.CreateSection(1, s_formStateKeyPreview);
65
private static readonly
BitVector32
.Section s_formStateMaximizeBox =
BitVector32
.CreateSection(1, s_formStateLayered);
66
private static readonly
BitVector32
.Section s_formStateMinimizeBox =
BitVector32
.CreateSection(1, s_formStateMaximizeBox);
67
private static readonly
BitVector32
.Section s_formStateHelpButton =
BitVector32
.CreateSection(1, s_formStateMinimizeBox);
68
private static readonly
BitVector32
.Section s_formStateStartPos =
BitVector32
.CreateSection(4, s_formStateHelpButton);
69
private static readonly
BitVector32
.Section s_formStateWindowState =
BitVector32
.CreateSection(2, s_formStateStartPos);
70
private static readonly
BitVector32
.Section s_formStateShowWindowOnCreate =
BitVector32
.CreateSection(1, s_formStateWindowState);
71
private static readonly
BitVector32
.Section s_formStateAutoScaling =
BitVector32
.CreateSection(1, s_formStateShowWindowOnCreate);
72
private static readonly
BitVector32
.Section s_formStateSetClientSize =
BitVector32
.CreateSection(1, s_formStateAutoScaling);
73
private static readonly
BitVector32
.Section s_formStateTopMost =
BitVector32
.CreateSection(1, s_formStateSetClientSize);
74
private static readonly
BitVector32
.Section s_formStateSWCalled =
BitVector32
.CreateSection(1, s_formStateTopMost);
75
private static readonly
BitVector32
.Section s_formStateMdiChildMax =
BitVector32
.CreateSection(1, s_formStateSWCalled);
76
private static readonly
BitVector32
.Section s_formStateRenderSizeGrip =
BitVector32
.CreateSection(1, s_formStateMdiChildMax);
77
private static readonly
BitVector32
.Section s_formStateSizeGripStyle =
BitVector32
.CreateSection(2, s_formStateRenderSizeGrip);
78
private static readonly
BitVector32
.Section s_formStateIsWindowActivated =
BitVector32
.CreateSection(1, s_formStateSizeGripStyle);
79
private static readonly
BitVector32
.Section s_formStateIsTextEmpty =
BitVector32
.CreateSection(1, s_formStateIsWindowActivated);
80
private static readonly
BitVector32
.Section s_formStateIsActive =
BitVector32
.CreateSection(1, s_formStateIsTextEmpty);
81
private static readonly
BitVector32
.Section s_formStateIconSet =
BitVector32
.CreateSection(1, s_formStateIsActive);
84
private static readonly
BitVector32
.Section s_formStateExCalledClosing =
BitVector32
.CreateSection(1);
85
private static readonly
BitVector32
.Section s_formStateExUpdateMenuHandlesSuspendCount =
BitVector32
.CreateSection(8, s_formStateExCalledClosing);
86
private static readonly
BitVector32
.Section s_formStateExUpdateMenuHandlesDeferred =
BitVector32
.CreateSection(1, s_formStateExUpdateMenuHandlesSuspendCount);
87
private static readonly
BitVector32
.Section s_formStateExUseMdiChildProc =
BitVector32
.CreateSection(1, s_formStateExUpdateMenuHandlesDeferred);
88
private static readonly
BitVector32
.Section s_formStateExCalledOnLoad =
BitVector32
.CreateSection(1, s_formStateExUseMdiChildProc);
89
private static readonly
BitVector32
.Section s_formStateExCalledMakeVisible =
BitVector32
.CreateSection(1, s_formStateExCalledOnLoad);
90
private static readonly
BitVector32
.Section s_formStateExCalledCreateControl =
BitVector32
.CreateSection(1, s_formStateExCalledMakeVisible);
91
private static readonly
BitVector32
.Section s_formStateExAutoSize =
BitVector32
.CreateSection(1, s_formStateExCalledCreateControl);
92
private static readonly
BitVector32
.Section s_formStateExInUpdateMdiControlStrip =
BitVector32
.CreateSection(1, s_formStateExAutoSize);
93
private static readonly
BitVector32
.Section s_formStateExShowIcon =
BitVector32
.CreateSection(1, s_formStateExInUpdateMdiControlStrip);
94
private static readonly
BitVector32
.Section s_formStateExMnemonicProcessed =
BitVector32
.CreateSection(1, s_formStateExShowIcon);
95
private static readonly
BitVector32
.Section s_formStateExInScale =
BitVector32
.CreateSection(1, s_formStateExMnemonicProcessed);
96
private static readonly
BitVector32
.Section s_formStateExInModalSizingLoop =
BitVector32
.CreateSection(1, s_formStateExInScale);
97
private static readonly
BitVector32
.Section s_formStateExSettingAutoScale =
BitVector32
.CreateSection(1, s_formStateExInModalSizingLoop);
98
private static readonly
BitVector32
.Section s_formStateExWindowBoundsWidthIsClientSize =
BitVector32
.CreateSection(1, s_formStateExSettingAutoScale);
99
private static readonly
BitVector32
.Section s_formStateExWindowBoundsHeightIsClientSize =
BitVector32
.CreateSection(1, s_formStateExWindowBoundsWidthIsClientSize);
100
private static readonly
BitVector32
.Section s_formStateExWindowClosing =
BitVector32
.CreateSection(1, s_formStateExWindowBoundsHeightIsClientSize);
144
private
BitVector32
_formState = new(0x21338); // magic value... all the defaults... see the ctor for details...
145
private
BitVector32
_formStateEx;
System\Windows\Forms\Layout\ArrangedElement.cs (2)
15
private
BitVector32
_state;
18
private static readonly int s_stateVisible =
BitVector32
.CreateMask();
System\Windows\Forms\Layout\CommonProperties.cs (38)
39
private static readonly
BitVector32
.Section s_dockAndAnchorNeedsLayoutSection =
BitVector32
.CreateSection(0x7F);
40
private static readonly
BitVector32
.Section s_dockAndAnchorSection =
BitVector32
.CreateSection(0x0F);
41
private static readonly
BitVector32
.Section s_dockModeSection =
BitVector32
.CreateSection(0x01, s_dockAndAnchorSection);
42
private static readonly
BitVector32
.Section s_autoSizeSection =
BitVector32
.CreateSection(0x01, s_dockModeSection);
43
private static readonly
BitVector32
.Section s_boxStretchInternalSection =
BitVector32
.CreateSection(0x03, s_autoSizeSection);
44
private static readonly
BitVector32
.Section s_anchorNeverShrinksSection =
BitVector32
.CreateSection(0x01, s_boxStretchInternalSection);
45
private static readonly
BitVector32
.Section s_flowBreakSection =
BitVector32
.CreateSection(0x01, s_anchorNeverShrinksSection);
46
private static readonly
BitVector32
.Section s_selfAutoSizingSection =
BitVector32
.CreateSection(0x01, s_flowBreakSection);
47
private static readonly
BitVector32
.Section s_autoSizeModeSection =
BitVector32
.CreateSection(0x01, s_selfAutoSizingSection);
69
BitVector32
state = GetLayoutState(element);
169
BitVector32
state = GetLayoutState(element);
409
BitVector32
state = GetLayoutState(element);
420
BitVector32
state = GetLayoutState(element);
438
BitVector32
state = GetLayoutState(element);
455
BitVector32
state = GetLayoutState(element);
473
BitVector32
state = GetLayoutState(element);
486
BitVector32
state = GetLayoutState(element);
521
BitVector32
state = GetLayoutState(element);
534
BitVector32
state = GetLayoutState(element);
551
BitVector32
state = GetLayoutState(element);
570
BitVector32
state = GetLayoutState(element);
591
BitVector32
state = GetLayoutState(element);
611
BitVector32
state = GetLayoutState(element);
642
BitVector32
state = GetLayoutState(element);
654
BitVector32
state = GetLayoutState(element);
718
/// CAREFUL: this is a copy of the state. You need to <see cref="SetLayoutState(IArrangedElement,
BitVector32
)"/>
722
internal static
BitVector32
GetLayoutState(IArrangedElement element) =>
723
element.Properties.GetValueOrDefault<
BitVector32
>(s_layoutStateProperty);
725
internal static void SetLayoutState(IArrangedElement element,
BitVector32
state) =>
System\Windows\Forms\Layout\Containers\ContainerControl.cs (6)
47
private
BitVector32
_state;
52
private static readonly int s_stateScalingNeededOnLayout =
BitVector32
.CreateMask();
57
private static readonly int s_stateValidating =
BitVector32
.CreateMask(s_stateScalingNeededOnLayout);
62
private static readonly int s_stateProcessingMnemonic =
BitVector32
.CreateMask(s_stateValidating);
67
private static readonly int s_stateScalingChild =
BitVector32
.CreateMask(s_stateProcessingMnemonic);
72
private static readonly int s_stateParentChanged =
BitVector32
.CreateMask(s_stateScalingChild);
System\Windows\Forms\Layout\TableLayout.ContainerInfo.cs (5)
22
private static readonly int s_stateValid =
BitVector32
.CreateMask();
23
private static readonly int s_stateChildInfoValid =
BitVector32
.CreateMask(s_stateValid);
24
private static readonly int s_stateChildHasColumnSpan =
BitVector32
.CreateMask(s_stateChildInfoValid);
25
private static readonly int s_stateChildHasRowSpan =
BitVector32
.CreateMask(s_stateChildHasColumnSpan);
42
private
BitVector32
_state;
System.Windows.Forms.Design (24)
System\ComponentModel\Design\DesignerHost.cs (4)
21
private static readonly int s_stateLoading =
BitVector32
.CreateMask();
23
private static readonly int s_stateUnloading =
BitVector32
.CreateMask(s_stateLoading);
25
private static readonly int s_stateIsClosingTransaction =
BitVector32
.CreateMask(s_stateUnloading);
49
private
BitVector32
_state; // state for this host
System\ComponentModel\Design\SelectionService.cs (3)
24
private static readonly int s_stateTransaction =
BitVector32
.CreateMask(); // Designer is in a transaction
25
private static readonly int s_stateTransactionChange =
BitVector32
.CreateMask(s_stateTransaction); // Component change occurred while in a transaction
33
private
BitVector32
_state; // state of the selection service
System\ComponentModel\Design\Serialization\BasicDesignerLoader.cs (13)
20
private static readonly int s_stateLoaded =
BitVector32
.CreateMask(); // Have we loaded, or tried to load, the document?
21
private static readonly int s_stateLoadFailed =
BitVector32
.CreateMask(s_stateLoaded); // True if we loaded, but had a fatal error.
22
private static readonly int s_stateFlushInProgress =
BitVector32
.CreateMask(s_stateLoadFailed); // True if we are in the process of flushing code.
23
private static readonly int s_stateModified =
BitVector32
.CreateMask(s_stateFlushInProgress); // True if the designer is modified.
24
private static readonly int s_stateReloadSupported =
BitVector32
.CreateMask(s_stateModified); // True if the serializer supports reload.
25
private static readonly int s_stateActiveDocument =
BitVector32
.CreateMask(s_stateReloadSupported); // Is this the currently active document?
26
private static readonly int s_stateDeferredReload =
BitVector32
.CreateMask(s_stateActiveDocument); // Set to true if a reload was requested but we aren't the active doc.
27
private static readonly int s_stateReloadAtIdle =
BitVector32
.CreateMask(s_stateDeferredReload); // Set if we are waiting to reload at idle. Prevents multiple idle event handlers.
28
private static readonly int s_stateForceReload =
BitVector32
.CreateMask(s_stateReloadAtIdle); // True if we should always reload, False if we should check the code dom for changes first.
29
private static readonly int s_stateFlushReload =
BitVector32
.CreateMask(s_stateForceReload); // True if we should flush before reloading.
30
private static readonly int s_stateModifyIfErrors =
BitVector32
.CreateMask(s_stateFlushReload); // True if we we should modify the buffer if we have fatal errors after load.
31
private static readonly int s_stateEnableComponentEvents =
BitVector32
.CreateMask(s_stateModifyIfErrors); // True if we are currently listening to OnComponent* events
34
private
BitVector32
_state;
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (4)
31
private static readonly int s_stateCodeDomDirty =
BitVector32
.CreateMask(); // True if the code dom tree is dirty, meaning it must be integrated back with the code file.
32
private static readonly int s_stateCodeParserChecked =
BitVector32
.CreateMask(s_stateCodeDomDirty); // True if we have searched for a parser.
33
private static readonly int s_stateOwnTypeResolution =
BitVector32
.CreateMask(s_stateCodeParserChecked); // True if we have added our own type resolution service
36
private
BitVector32
_state;