4 writes to CurrentCulture
System.Windows.Forms.Tests (4)
System\Windows\Forms\ApplicationTests.cs (4)
48
Application.
CurrentCulture
= value;
55
Application.
CurrentCulture
= value;
63
Application.
CurrentCulture
= oldValue;
72
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)
18
Assert.Same(Thread.CurrentThread.CurrentCulture, Application.
CurrentCulture
);
45
CultureInfo oldValue = Application.
CurrentCulture
;
49
Assert.Same(value, Application.
CurrentCulture
);
56
Assert.Same(value, Application.
CurrentCulture
);