* The purpose of BitmapBinder was to restrict binary formatter deserialization for known formats that should not accept managed types other than primitives or bitmaps. All types that are allowed by the BitmapBinder are supported as "common known" types and are serialized by writing the serialization record "manually", not by calling the BinaryFormatter. We read some other types, such as collections but these have been read in NET9 as well, when we added special case for the common types. Currently this binder is used only in the failure cases to raise a special exception that indicates that we should not read the data again.
1. Ensure that HGLOBAL is freed when a serialization exception is thrown when flushing data to the clipboard
2. Ensure that we don't attempt deserialization if we couldn't serialize data from the inproc scenario
* Bump up NuGet Packs and apply new Analyzer Rules.
* Downgrade Analyzer version.
* Fix some additional analyzer issues.
* Address review feedback.
* Fix unit test.
* Fix missmatching Analyzer NuGet package version.
* Fix RTF format test in the RichTextBox.
* Correct type in ToolTip.cs.
* Address remaining feedback while keeping all tests passing.
* Correct formatting in DPI_AWARENESS_CONTEXT.
* Add UIA_AutomationFocusChangedEventId in SelectInternal function of PropertyGridView.GridViewTextBox
* Add a check that when the selected text is (0, 0), let the AI rectangle refocus the current text box
* Rename the variables of function SelectInternal
Add an entry for every test assembly. Not all of these projects exist yet, but they will soon. I'll be forcing all of the WPF test projects to the Open key.
Related #10773
Proposed changes
Add unit test MaskedTextBoxDesignerActionListTests.cs for public properties and method of the MaskedTextBoxDesignerActionList.
Enable nullability in MaskedTextBoxDesignerActionListTests.cs.
* Localized file check-in by OneLocBuild Task: Build definition ID 164: Build ID 2587332
* Localized file check-in by OneLocBuild Task: Build definition ID 164: Build ID 2587332
* Localized file check-in by OneLocBuild Task: Build definition ID 164: Build ID 2587398
* Localized file check-in by OneLocBuild Task: Build definition ID 164: Build ID 2587398
* Localized file check-in by OneLocBuild Task: Build definition ID 164: Build ID 2593375
* Localized file check-in by OneLocBuild Task: Build definition ID 164: Build ID 2593375
* Localized file check-in by OneLocBuild Task: Build definition ID 164: Build ID 2594265
* Localized file check-in by OneLocBuild Task: Build definition ID 164: Build ID 2594265
Fixes#12556
## Proposed changes
- Updates the `Reposition()` method in the `ToolTip` class to correctly
handle cases where the tooltip extends beyond the left boundary of the
screen, ensuring it is fully visible and not truncated.
## Customer Impact
The tooltip will be fully visible regardless of how close it is to the
left border of the screen.
## Regression?
- No
## Risk
- Minimal
## Screenshots
### Before
### After
## Test methodology
- Manual
## Test environment(s)
sdk: 9.0.100
Microsoft.NET.Sdk.IL: 10.0.0-alpha.1.24577.1
Fixes#12538
Proposed changes
Remove the recursive call between IsVisible(int, int) and IsVisible(Point). Directly convert int to float in IsVisible(int x, int y) and call IsVisible(float x, float y) API.
Add unit test to verify that all overloads of the IsVisible method return the same result for both points and rectangles.
Fixes#12495 and #4454
Proposed changes
Early return for empty collection
Converts the ToolStripItemCollection into a temporary array (using ToArray()) to avoid modifying the original collection during iteration. This ensures that items can be safely added to the new collection without causing exceptions or unintended behavior, especially when items are removed from the original collection if they have a different owner control.
Add unit test for issue Infinite loop in ToolStripItemCollection.AddRange #12495 case
Regression?
Yes
Test methodology
Test fixing for GH issues: 12495 and 4454 manually
Unit test
Declared string[] as an Array in order to avoid confusion as to what the `object` is - a single string or an array of strings in IEnumerable<object[]>
VS tests fail intermittently with "The test method expected 1 parameter, but received 2"
* Rennable test broken in Merge.
Stop ProgressDialog and VBInputBox from opening in designer which will fail.
Fix missing return in Interaction.vb
* More cleanup of comments and formatting from Merge issues
* More cleanup
* Fix logic and comments around CreateTempDirectory
Update tests