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