1 instantiation of Section
System.Collections.Specialized (1)
System\Collections\Specialized\BitVector32.cs (1)
148
return new
Section
(mask, offset);
152 references to Section
PresentationBuildTasks (27)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\BamlRecords.cs (27)
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
1334
private static BitVector32.
Section
_assemblyIdHighSection
1601
private static BitVector32.
Section
_sharedSection
1604
private static BitVector32.
Section
_sharedSetSection
1759
private static BitVector32.
Section
_sharedSection
1762
private static BitVector32.
Section
_sharedSetSection
2425
private static BitVector32.
Section
_isValueTypeExtensionSection
2428
private static BitVector32.
Section
_isValueStaticExtensionSection
3302
private static BitVector32.
Section
_typeIdLowSection
3305
private static BitVector32.
Section
_typeIdHighSection
3308
private static BitVector32.
Section
_useTypeConverter
3311
private static BitVector32.
Section
_isInjected
3316
internal new static BitVector32.
Section
LastFlagsSection
3666
private static BitVector32.
Section
_isValueTypeExtensionSection
3669
private static BitVector32.
Section
_isValueStaticExtensionSection
3673
internal new static BitVector32.
Section
LastFlagsSection
4215
private static BitVector32.
Section
_assemblyIdLowSection
4218
private static BitVector32.
Section
_assemblyIdHighSection
4428
private static BitVector32.
Section
_typeIdLowSection
4431
private static BitVector32.
Section
_typeIdHighSection
4909
private static BitVector32.
Section
_isInternalSection
4912
private static BitVector32.
Section
_attributeUsageSection
5048
private static BitVector32.
Section
_stringIdLowSection
5051
private static BitVector32.
Section
_stringIdHighSection
PresentationFramework (39)
System\Windows\Markup\BamlRecords.cs (39)
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
1334
private static BitVector32.
Section
_assemblyIdHighSection
1339
internal new static BitVector32.
Section
LastFlagsSection
1601
private static BitVector32.
Section
_sharedSection
1604
private static BitVector32.
Section
_sharedSetSection
1609
internal new static BitVector32.
Section
LastFlagsSection
1759
private static BitVector32.
Section
_sharedSection
1762
private static BitVector32.
Section
_sharedSetSection
1767
internal new static BitVector32.
Section
LastFlagsSection
2425
private static BitVector32.
Section
_isValueTypeExtensionSection
2428
private static BitVector32.
Section
_isValueStaticExtensionSection
2433
internal new static BitVector32.
Section
LastFlagsSection
2874
private static BitVector32.
Section
_isValueSetSection
2878
private static BitVector32.
Section
_isValueTypeIdSection
2882
private static BitVector32.
Section
_isRawEnumValueSetSection
2886
internal new static BitVector32.
Section
LastFlagsSection
3302
private static BitVector32.
Section
_typeIdLowSection
3305
private static BitVector32.
Section
_typeIdHighSection
3308
private static BitVector32.
Section
_useTypeConverter
3311
private static BitVector32.
Section
_isInjected
3316
internal new static BitVector32.
Section
LastFlagsSection
3666
private static BitVector32.
Section
_isValueTypeExtensionSection
3669
private static BitVector32.
Section
_isValueStaticExtensionSection
3673
internal new static BitVector32.
Section
LastFlagsSection
4215
private static BitVector32.
Section
_assemblyIdLowSection
4218
private static BitVector32.
Section
_assemblyIdHighSection
4223
internal new static BitVector32.
Section
LastFlagsSection
4428
private static BitVector32.
Section
_typeIdLowSection
4431
private static BitVector32.
Section
_typeIdHighSection
4436
internal new static BitVector32.
Section
LastFlagsSection
4909
private static BitVector32.
Section
_isInternalSection
4912
private static BitVector32.
Section
_attributeUsageSection
4917
internal new static BitVector32.
Section
LastFlagsSection
5048
private static BitVector32.
Section
_stringIdLowSection
5051
private static BitVector32.
Section
_stringIdHighSection
5056
internal new static BitVector32.
Section
LastFlagsSection
System.Collections.Specialized (13)
System\Collections\Specialized\BitVector32.cs (13)
62
public int this[
Section
section]
124
public static
Section
CreateSection(short maxValue)
132
public static
Section
CreateSection(short maxValue,
Section
previous)
137
private static
Section
CreateSectionHelper(short maxValue, short priorMask, short priorOffset)
187
public readonly struct Section : IEquatable<
Section
>
202
public override bool Equals([NotNullWhen(true)] object? o) => o is
Section
other && Equals(other);
204
public bool Equals(
Section
obj)
209
public static bool operator ==(
Section
a,
Section
b)
214
public static bool operator !=(
Section
a,
Section
b)
221
public static string ToString(
Section
value)
System.Windows.Forms (73)
System\Windows\Forms\Controls\Labels\Label.cs (6)
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);
System\Windows\Forms\Controls\ListView\ListViewItem.cs (5)
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);
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (13)
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\Form.cs (40)
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);
System\Windows\Forms\Layout\CommonProperties.cs (9)
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);