4 writes to CurrentCulture
System.Windows.Forms.Tests (4)
System\Windows\Forms\ApplicationTests.cs (4)
50
Application.
CurrentCulture
= value;
57
Application.
CurrentCulture
= value;
65
Application.
CurrentCulture
= oldValue;
74
Assert.Throws<ArgumentNullException>("value", () => Application.
CurrentCulture
= null);
11 references to CurrentCulture
System.Windows.Forms (6)
System\Windows\Forms\Controls\ComboBox\ComboBox.ObjectCollection.cs (1)
474
CompareInfo compInfo = Application.
CurrentCulture
.CompareInfo;
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.ItemComparer.cs (1)
29
CompareInfo compInfo = Application.
CurrentCulture
.CompareInfo;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CommandsPane.cs (1)
217
sb.Append(Application.
CurrentCulture
.TextInfo.ListSeparator);
System\Windows\Forms\Controls\TreeView\TreeNode.cs (2)
1135
CompareInfo compare = Application.
CurrentCulture
.CompareInfo;
1203
CompareInfo compare = Application.
CurrentCulture
.CompareInfo;
System\Windows\Forms\Internal\ItemArray.cs (1)
309
CompareInfo compInfo = Application.
CurrentCulture
.CompareInfo;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DocumentDesigner.AxToolboxItem.cs (1)
299
(uint)Application.
CurrentCulture
.LCID,
System.Windows.Forms.Tests (4)
System\Windows\Forms\ApplicationTests.cs (4)
20
Assert.Same(Thread.CurrentThread.CurrentCulture, Application.
CurrentCulture
);
47
CultureInfo oldValue = Application.
CurrentCulture
;
51
Assert.Same(value, Application.
CurrentCulture
);
58
Assert.Same(value, Application.
CurrentCulture
);