diff --git a/Documentation/compatibility/README.md b/Documentation/compatibility/README.md index 2c72456..8eab802 100644 --- a/Documentation/compatibility/README.md +++ b/Documentation/compatibility/README.md @@ -36,6 +36,7 @@ Please help us improve the [.NET Framework Application Compatibility documents]( - [Connection pool blocking period for Azure SQL databases is removed](connection-pool-blocking-period-for-azure-sql-databases-is-removed.md) - [DataGridCellsPanel.BringIndexIntoView throws ArgumentOutOfRangeException](datagridcellspanel_bringintoview-throws-argumentoutofrangeexception.md) - [Horizontal scrolling and virtualization](horizontal-scrolling-and-virtualization.md) +- [HttpRuntime.AppDomainAppPath Throws a NullReferenceException](asp-net-httpruntime-appdomainapppath-throws-nullreferenceexception.md) - [Incorrect implementation of MemberDescriptor.Equals](incorrect-implementation-of-memberdescriptor_equals.md) - [Long path support](long-path-support.md) - [Path colon checks are stricter](path-colon-checks-are-stricter.md) @@ -50,6 +51,7 @@ Please help us improve the [.NET Framework Application Compatibility documents]( ## .NET Framework 4.6.1 - [Application.FilterMessage no longer throws for re-entrant implementations of IMessageFilter.PreFilterMessage](application_filtermessage-no-longer-throws-for-re-entrant-implementations-of-imessagefilter_prefiltermessage.md) +- [Calls to System.Windows.Input.PenContext.Disable on touch-enabled systems may throw an ArgumentException](wpf-pencontext-disable-method-calls-on-touch-enabled-systems-may-throw-argumentexception.md) - [Item-scrolling a flat list with items of different pixel-height](item-scrolling-a-flat-list-with-items-of-different-pixel-height.md) - [ObjectDisposedException thrown by WPF spellchecker](objectdisposedexception-thrown-by-wpf-spellchecker.md) - [WCF binding with the TransportWithMessageCredential security mode](wcf-binding-with-the-transportwithmessagecredential-security-mode.md) @@ -143,8 +145,8 @@ Please help us improve the [.NET Framework Application Compatibility documents]( - [IPad should not be used in custom capabilities file because it is now a browser capability](ipad-should-not-be-used-in-custom-capabilities-file-because-it-is-now-a-browser-capability.md) - [Items.Clear does not remove duplicates from SelectedItems](items_clear-does-not-remove-duplicates-from-selecteditems.md) - [Linq to EF Join throws ArgumentOutOfRangeException](linq-to-ef-join-throws-argumentoutofrangeexception.md) -- [List.Sort algorithm changed](list_sort-algorithm-changed.md) - [List<T>.ForEach can throw exception when modifying list item](list_foreach-can-throw-exception-when-modifying-list-item.md) +- [List.Sort algorithm changed](list_sort-algorithm-changed.md) - [ListBoxItem IsSelected binding issue with ObservableCollection<T>.Move](listboxitem-isselected-binding-issue-with-observablecollection_move.md) - [Log file name created by the ObjectContext.CreateDatabase method has changed to match SQL Server specifications](log-file-name-created-by-the-objectcontext_createdatabase-method-has-changed-to-match-sql-server-specifications.md) - [MachineKey.Encode and MachineKey.Decode methods are now obsolete](machinekey_encode-and-machinekey_decode-methods-are-now-obsolete.md) diff --git a/Documentation/compatibility/asp-net-httpruntime-appdomainapppath-throws-nullreferenceexception.md b/Documentation/compatibility/asp-net-httpruntime-appdomainapppath-throws-nullreferenceexception.md new file mode 100644 index 0000000..b0b79d8 --- /dev/null +++ b/Documentation/compatibility/asp-net-httpruntime-appdomainapppath-throws-nullreferenceexception.md @@ -0,0 +1,42 @@ +## HttpRuntime.AppDomainAppPath Throws a NullReferenceException + +### Scope +Edge + +### Version Introduced +4.6.2 + +### Version Reverted +4.6.3 + +### Source Analyzer Status +NotPlanned + +### Change Description +In the .NET Framework 4.6.2, the runtime throws a `T:System.NullReferenceException` when retrieving a `P:System.Web.HttpRuntime.AppDomainAppPath` value that includes null characters. + +In the .NET Framework 4.6.1 and earlier versions, the runtime throws an `T:System.ArgumentNullException`. + +- [ ] Quirked +- [X] Build-time break + +### Recommended Action +You can do either of the follow to respond to this change: + +- Handle the `T:System.NullReferenceException` if you application is running on the .NET Framework 4.6.2. + +- Upgrade to the .NET Framework 4.7, which restores the previous behavior and throws an `T:System.ArgumentNullException`. + +### Affected APIs +`P:System.Web.HttpRuntime.AppDomainAppPath` + +### Category +ASP.NET + + + + + diff --git a/Documentation/compatibility/wpf-pencontext-disable-method-calls-on-touch-enabled-systems-may-throw-argumentexception.md b/Documentation/compatibility/wpf-pencontext-disable-method-calls-on-touch-enabled-systems-may-throw-argumentexception.md new file mode 100644 index 0000000..3545602 --- /dev/null +++ b/Documentation/compatibility/wpf-pencontext-disable-method-calls-on-touch-enabled-systems-may-throw-argumentexception.md @@ -0,0 +1,37 @@ +## Calls to System.Windows.Input.PenContext.Disable on touch-enabled systems may throw an ArgumentException + +### Scope +Edge + +### Version Introduced +4.6.1 + +### Version Reverted +4.7 + +### Source Analyzer Status +NotPlanned + +### Change Description +Under some circumstances, calls to the internal **System.Windows.Intput.PenContext.Disable** method on touch-enabled systems may throw an unhandled `T:System.ArgumentException` because of reentrancy. + +- [ ] Quirked +- [X] Build-time break + +### Recommended Action +This issue has been addressed in the .NET Framework 4.7. To prevent the exception, upgrade to a version of the .NET Framework starting with the .NET Framework 4.7. + +### Affected APIs +Not detectable via API analysis + +### Category +Windows Presentation Foundation (WPF) + + + + + +