|
| 1 | +--- |
| 2 | +title: ".NET docs: What's new for 2023-11-09 - 2024-11-12" |
| 3 | +description: "What's new in the .NET docs for 2023-11-09 - 2024-11-12." |
| 4 | +ms.custom: October-2024 |
| 5 | +ms.date: 11/11/2024 |
| 6 | +--- |
| 7 | + |
| 8 | +# .NET docs: What's new for 2023-11-09 - 2024-11-12 |
| 9 | + |
| 10 | +Welcome to what's new in the .NET docs for 2023-11-09 - 2024-11-12. This article lists some of the major changes to docs during this period. |
| 11 | + |
| 12 | +## .NET security |
| 13 | + |
| 14 | +### Updated articles |
| 15 | + |
| 16 | +- [Cross-Platform Cryptography in .NET](../standard/security/cross-platform-cryptography.md) - Crypto docs |
| 17 | + |
| 18 | +## .NET breaking changes |
| 19 | + |
| 20 | +### New articles |
| 21 | + |
| 22 | +- [`dotnet workload` commands output change](../core/compatibility/sdk/9.0/dotnet-workload-output.md) |
| 23 | +- [`GetXmlNamespaceMaps` type change](../core/compatibility/wpf/9.0/xml-namespace-maps.md) |
| 24 | +- [`installer` repo version no longer included in `productcommits` files](../core/compatibility/sdk/9.0/productcommits-versions.md) |
| 25 | +- [API obsoletions with non-default diagnostic IDs (.NET 9)](../core/compatibility/core-libraries/9.0/obsolete-apis-with-custom-diagnostics.md) |
| 26 | +- [BindingSource.SortDescriptions doesn't return null](../core/compatibility/windows-forms/9.0/sortdescriptions-return-value.md) |
| 27 | +- [Breaking changes in .NET 9](../core/compatibility/9.0.md) |
| 28 | +- [Changes to nullability annotations (Windows Forms)](../core/compatibility/windows-forms/9.0/nullability-changes.md) |
| 29 | +- [ComponentDesigner.Initialize throws ArgumentNullException](../core/compatibility/windows-forms/9.0/componentdesigner-initialize.md) |
| 30 | +- [Creating type of array of System.Void not allowed](../core/compatibility/core-libraries/9.0/type-instance.md) |
| 31 | +- [DataGridViewRowAccessibleObject.Name starting row index](../core/compatibility/windows-forms/9.0/datagridviewrowaccessibleobject-name-row.md) |
| 32 | +- [Default `Equals()` and `GetHashCode()` throw for types marked with `InlineArrayAttribute`](../core/compatibility/core-libraries/9.0/inlinearrayattribute.md) |
| 33 | +- [DefaultKeyResolution.ShouldGenerateNewKey has altered meaning](../core/compatibility/aspnet-core/9.0/key-resolution.md) |
| 34 | +- [Deprecated desktop Windows/macOS/Linux MonoVM runtime packages](../core/compatibility/deployment/9.0/monovm-packages.md) |
| 35 | +- [Floating point-to-integer conversions are saturating](../core/compatibility/jit/9.0/fp-to-integer.md) |
| 36 | +- [HttpListenerRequest.UserAgent is nullable](../core/compatibility/networking/9.0/useragent-nullable.md) |
| 37 | +- [In-box BinaryFormatter implementation removed and always throws](../core/compatibility/serialization/9.0/binaryformatter-removal.md) |
| 38 | +- [Inline array struct size limit is enforced](../core/compatibility/core-libraries/9.0/inlinearray-size.md) |
| 39 | +- [InMemoryDirectoryInfo prepends rootDir to files](../core/compatibility/core-libraries/9.0/inmemorydirinfo-prepends-rootdir.md) |
| 40 | +- [No exception if DataGridView is null](../core/compatibility/windows-forms/9.0/datagridviewheadercell-nre.md) |
| 41 | +- [PictureBox raises HttpClient exceptions](../core/compatibility/windows-forms/9.0/httpclient-exceptions.md) |
| 42 | +- [RuntimeHelpers.GetSubArray returns different type](../core/compatibility/core-libraries/9.0/getsubarray-return.md) |
| 43 | +- [Support for empty environment variables](../core/compatibility/core-libraries/9.0/empty-env-variable.md) |
| 44 | +- [Terminal logger is default](../core/compatibility/sdk/9.0/terminal-logger.md) |
| 45 | +- [Warning emitted for .NET Standard 1.x targets](../core/compatibility/sdk/9.0/netstandard-warning.md) |
| 46 | + |
| 47 | +### Updated articles |
| 48 | + |
| 49 | +- [Breaking changes in .NET 9](../core/compatibility/9.0.md) |
| 50 | + - Breaking change for floating point to int conversions |
| 51 | + - BinaryFormatter removal |
| 52 | + - Deprecated MonoVM packages |
| 53 | + - Core libraries breaking changes for Preview 6 |
| 54 | + - PictureBox breaking change |
| 55 | + - Two SDK breaking changes |
| 56 | + - Breaking change for ShouldGenerateNewKey |
| 57 | + - XmlNamespacesMap breaking change |
| 58 | + - InMemoryDirectoryInfo breaking change |
| 59 | + - Inline array size limit breaking change |
| 60 | + - .NET 9 Preview 1 breaking changes |
| 61 | + - WinForms breaking changes for .NET 9 Preview 1 |
| 62 | + - .NET SDK breaking changes |
| 63 | + - Update diagnostic docs for SYSLIB0009 |
| 64 | +- [Partial and zero-byte reads in DeflateStream, GZipStream, and CryptoStream](../core/compatibility/core-libraries/6.0/partial-byte-reads-in-streams.md) - Add CA2022 to docs |
| 65 | + |
| 66 | +## .NET fundamentals |
| 67 | + |
| 68 | +### New articles |
| 69 | + |
| 70 | +- [CA2022: Avoid inexact read with Stream.Read](../fundamentals/code-analysis/quality-rules/ca2022.md) |
| 71 | +- [CA2265: Do not compare `Span<T>` to `null` or `default`](../fundamentals/code-analysis/quality-rules/ca2265.md) |
| 72 | +- [Configuration source generator](../core/extensions/configuration-generator.md) |
| 73 | + |
| 74 | +### Updated articles |
| 75 | + |
| 76 | +- [.NET Standard](../standard/net-standard.md) - Two SDK breaking changes |
| 77 | +- [CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString'](../fundamentals/code-analysis/quality-rules/ca1872.md) - Add CA2022 to docs |
| 78 | +- [CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull'](../fundamentals/code-analysis/quality-rules/ca2264.md) - Add CA2022 to docs |
| 79 | +- [Code quality rules](../fundamentals/code-analysis/quality-rules/index.md) |
| 80 | + - Add CA2265 docs |
| 81 | + - Add CA2022 to docs |
| 82 | +- [Configuration in .NET](../core/extensions/configuration.md) - Add content for config source gen with interceptors |
| 83 | +- [Obsolete features in .NET 5+](../fundamentals/syslib-diagnostics/obsoletions-overview.md) - Update diagnostic docs for SYSLIB0009 |
| 84 | +- [Overview of .NET source code analysis](../fundamentals/code-analysis/overview.md) - Add CA2022 to docs |
| 85 | +- [Synchronizing data for multithreading](../standard/threading/synchronizing-data-for-multithreading.md) - Add language reference for `lock` |
| 86 | +- [SYSLIB0009: AuthenticationManager is not supported](../fundamentals/syslib-diagnostics/syslib0009.md) - Update diagnostic docs for SYSLIB0009 |
| 87 | +- [Usage rules](../fundamentals/code-analysis/quality-rules/usage-warnings.md) - Add CA2265 docs |
| 88 | +- [What's new in the SDK and tooling for .NET 8](../core/whats-new/dotnet-8/sdk.md) - Add CA2022 to docs |
| 89 | +- [What's new in the SDK and tooling for .NET 9](../core/whats-new/dotnet-9/sdk.md) |
| 90 | + - Add CA2265 docs |
| 91 | + - Add CA2022 to docs |
| 92 | + |
| 93 | +## C# language |
| 94 | + |
| 95 | +### New articles |
| 96 | + |
| 97 | +- [Errors and warnings associated with `ref struct` types](../csharp/language-reference/compiler-messages/ref-struct-errors.md) |
| 98 | +- [Errors and warnings related to `partial` type and `partial` member declarations](../csharp/language-reference/compiler-messages/partial-declarations.md) |
| 99 | +- [Errors and warnings related to the `lock` statement and thread synchronization](../csharp/language-reference/compiler-messages/lock-semantics.md) |
| 100 | +- [Errors and warnings related to the `params` modifier on method parameters](../csharp/language-reference/compiler-messages/params-arrays.md) |
| 101 | +- [Errors and warnings related to the `yield return` statement and iterator methods](../csharp/language-reference/compiler-messages/iterator-yield.md) |
| 102 | +- [Partial member (C# Reference)](../csharp/language-reference/keywords/partial-member.md) |
| 103 | +- [Resolve errors and warnings that affect overload resolution.](../csharp/language-reference/compiler-messages/overload-resolution.md) |
| 104 | +- [What's new in C# 13](../csharp/whats-new/csharp-13.md) |
| 105 | + |
| 106 | +### Updated articles |
| 107 | + |
| 108 | +- [:::no-loc text=interface::: (C# Reference)](../csharp/language-reference/keywords/interface.md) - Add reference and conceptual content for `ref struct` allowed in interfaces |
| 109 | +- [`ref` structure types (C# reference)](../csharp/language-reference/builtin-types/ref-struct.md) |
| 110 | + - Add reference and conceptual content for `ref struct` allowed in interfaces |
| 111 | + - Add information for C# 13 feature `ref` locals and `unsafe` contexts in iterators and `async` methods |
| 112 | +- [Access Modifiers (C# Programming Guide)](../csharp/programming-guide/classes-and-structs/access-modifiers.md) - Add conceptual content for partial properties |
| 113 | +- [Arithmetic operators (C# reference)](../csharp/language-reference/operators/arithmetic-operators.md) - Explain better conversion from collection expression |
| 114 | +- [Assembly level attributes interpreted by the C# compiler](../csharp/language-reference/attributes/global.md) - Add reference and conceptual content for `ref struct` allowed in interfaces |
| 115 | +- [Attributes](../csharp/advanced-topics/reflection-and-attributes/index.md) - Add conceptual content for partial properties |
| 116 | +- [Automatically implemented properties](../csharp/programming-guide/classes-and-structs/auto-implemented-properties.md) - Add conceptual content for partial properties |
| 117 | +- [await operator - asynchronously await for a task to complete](../csharp/language-reference/operators/await.md) - Add information for C# 13 feature `ref` locals and `unsafe` contexts in iterators and `async` methods |
| 118 | +- [C# Compiler Errors](../csharp/language-reference/compiler-messages/index.md) - Add errors and warnings for params arrays |
| 119 | +- [C# Keywords](../csharp/language-reference/keywords/index.md) |
| 120 | + - Add conceptual content for partial properties |
| 121 | + - Add reference and conceptual content for `ref struct` allowed in interfaces |
| 122 | +- [C# Warning waves](../csharp/language-reference/compiler-messages/warning-waves.md) - Add information for C# 13 feature `ref` locals and `unsafe` contexts in iterators and `async` methods |
| 123 | +- [Collection expressions - C# language reference](../csharp/language-reference/operators/collection-expressions.md) - Explain better conversion from collection expression |
| 124 | +- [Compiler Error CS0401](../csharp/misc/cs0401.md) - Add, update compiler error and warning messages for `ref struct` interfaces |
| 125 | +- [Compiler Error CS1996](../csharp/language-reference/compiler-messages/cs1996.md) - Add information for C# 13 feature `ref` locals and `unsafe` contexts in iterators and `async` methods |
| 126 | +- [Compiler Error CS4004](../csharp/language-reference/compiler-messages/cs4004.md) - Add information for C# 13 feature `ref` locals and `unsafe` contexts in iterators and `async` methods |
| 127 | +- [Compiler Error CS8177](../csharp/language-reference/compiler-messages/cs8177.md) - Add information for C# 13 feature `ref` locals and `unsafe` contexts in iterators and `async` methods |
| 128 | +- [Constraints on type parameters (C# Programming Guide)](../csharp/programming-guide/generics/constraints-on-type-parameters.md) - Add reference and conceptual content for `ref struct` allowed in interfaces |
| 129 | +- [default value expressions - produce the default value](../csharp/language-reference/operators/default.md) - Explain better conversion from collection expression |
| 130 | +- [Errors and warnings associated with `ref struct` types](../csharp/language-reference/compiler-messages/ref-struct-errors.md) |
| 131 | + - Add new diagnostics |
| 132 | + - Add, update compiler error and warning messages for `ref struct` interfaces |
| 133 | +- [Errors and warnings associated with reference parameters, variables, and returns](../csharp/language-reference/compiler-messages/ref-modifiers-errors.md) |
| 134 | + - Add new diagnostics |
| 135 | + - Add, update compiler error and warning messages for `ref struct` interfaces |
| 136 | +- [Errors and warnings related to the `yield return` statement and iterator methods](../csharp/language-reference/compiler-messages/iterator-yield.md) |
| 137 | + - Add errors and warnings related to `partial` properties and indexers |
| 138 | + - update and consolidate errors related to iterators and `yield` |
| 139 | +- [Expression Trees](../csharp/advanced-topics/expression-trees/index.md) - Add conceptual content for partial properties |
| 140 | +- [from clause (C# Reference)](../csharp/language-reference/keywords/from-clause.md) - Add conceptual content for partial properties |
| 141 | +- [get (C# Reference)](../csharp/language-reference/keywords/get.md) - Add conceptual content for partial properties |
| 142 | +- [How to handle an exception using try/catch](../csharp/fundamentals/exceptions/how-to-handle-an-exception-using-try-catch.md) - Add conceptual content for partial properties |
| 143 | +- [How to initialize a dictionary with a collection initializer (C# Programming Guide)](../csharp/programming-guide/classes-and-structs/how-to-initialize-a-dictionary-with-a-collection-initializer.md) - Add params collections |
| 144 | +- [How to initialize objects by using an object initializer (C# Programming Guide)](../csharp/programming-guide/classes-and-structs/how-to-initialize-objects-by-using-an-object-initializer.md) - Add params collections |
| 145 | +- [Indexers](../csharp/programming-guide/indexers/index.md) - Add conceptual content for partial properties |
| 146 | +- [Indexers in Interfaces (C# Programming Guide)](../csharp/programming-guide/indexers/indexers-in-interfaces.md) - Add conceptual content for partial properties |
| 147 | +- [Interface Properties (C# Programming Guide)](../csharp/programming-guide/classes-and-structs/interface-properties.md) - Add conceptual content for partial properties |
| 148 | +- [Introduction to classes](../csharp/fundamentals/types/classes.md) - Add conceptual content for partial properties |
| 149 | +- [Lambda expressions and anonymous functions](../csharp/language-reference/operators/lambda-expressions.md) - Add params collections |
| 150 | +- [Member access operators and expressions - the dot, indexer, and invocation operators.](../csharp/language-reference/operators/member-access-operators.md) |
| 151 | + - Explain better conversion from collection expression |
| 152 | + - Add C# 13 small fixes |
| 153 | +- [Method Parameters](../csharp/language-reference/keywords/method-parameters.md) |
| 154 | + - Add information for C# 13 feature `ref` locals and `unsafe` contexts in iterators and `async` methods |
| 155 | + - Add params collections |
| 156 | +- [Methods in C\#](../csharp/methods.md) - Add params collections |
| 157 | +- [Miscellaneous attributes interpreted by the C# compiler](../csharp/language-reference/attributes/general.md) |
| 158 | + - Add OverloadResolutionPriority conceptual documentation. |
| 159 | + - Add reference and conceptual content for `ref struct` allowed in interfaces |
| 160 | +- [nameof expression (C# reference)](../csharp/language-reference/operators/nameof.md) - Explain better conversion from collection expression |
| 161 | +- [new operator - The `new` operator creates a new instance of a type](../csharp/language-reference/operators/new-operator.md) - Explain better conversion from collection expression |
| 162 | +- [Object and Collection Initializers (C# Programming Guide)](../csharp/programming-guide/classes-and-structs/object-and-collection-initializers.md) - Add params collections |
| 163 | +- [Partial Classes and Methods (C# Programming Guide)](../csharp/programming-guide/classes-and-structs/partial-classes-and-methods.md) - Add conceptual content for partial properties |
| 164 | +- [Partial type (C# Reference)](../csharp/language-reference/keywords/partial-type.md) - Add conceptual content for partial properties |
| 165 | +- [Properties (C# Programming Guide)](../csharp/programming-guide/classes-and-structs/properties.md) - Add conceptual content for partial properties |
| 166 | +- [Recommended XML tags for C# documentation comments](../csharp/language-reference/xmldoc/recommended-tags.md) - Add conceptual content for partial properties |
| 167 | +- [Resolve errors and warnings generated from expressions prohibited in expression trees](../csharp/language-reference/compiler-messages/expression-tree-restrictions.md) |
| 168 | + - Add conceptual content for partial properties |
| 169 | + - Add errors and warnings for params arrays |
| 170 | +- [Resolve errors and warnings in array and collection declarations and initialization expressions](../csharp/language-reference/compiler-messages/array-declaration-errors.md) - Add errors and warnings related to overload resolution |
| 171 | +- [Resolve errors and warnings with inline array declarations](../csharp/language-reference/compiler-messages/inline-array-errors.md) |
| 172 | + - Add new diagnostics |
| 173 | + - Add conceptual content for partial properties |
| 174 | +- [Resolve warnings related to language features and versions](../csharp/language-reference/compiler-messages/feature-version-errors.md) |
| 175 | + - Add new diagnostics |
| 176 | + - Add, update compiler error and warning messages for `ref struct` interfaces |
| 177 | +- [Roadmap for Java developers learning C\#](../csharp/tour-of-csharp/tips-for-java-developers.md) - Add conceptual content for partial properties |
| 178 | +- [select clause (C# Reference)](../csharp/language-reference/keywords/select-clause.md) - Add conceptual content for partial properties |
| 179 | +- [set (C# Reference)](../csharp/language-reference/keywords/set.md) - Add conceptual content for partial properties |
| 180 | +- [Standard .NET event patterns](../csharp/event-pattern.md) - Add conceptual content for partial properties |
| 181 | +- [The `ref` keyword](../csharp/language-reference/keywords/ref.md) - Add, update compiler error and warning messages for `ref struct` interfaces |
| 182 | +- [The C# type system](../csharp/fundamentals/types/index.md) - Add conceptual content for partial properties |
| 183 | +- [The checked and unchecked statements (C# reference)](../csharp/language-reference/statements/checked-and-unchecked.md) - Explain better conversion from collection expression |
| 184 | +- [The history of C\#](../csharp/whats-new/csharp-version-history.md) - Add conceptual content for partial properties |
| 185 | +- [The lock statement - ensure exclusive access to a shared resource](../csharp/language-reference/statements/lock.md) - Add language reference for `lock` |
| 186 | +- [Type-testing operators and cast expressions - `is`, `as`, `typeof` and casts](../csharp/language-reference/operators/type-testing-and-cast.md) - Explain better conversion from collection expression |
| 187 | +- [Use string interpolation to construct formatted strings](../csharp/tutorials/exploration/interpolated-strings-local.md) - Add conceptual content for partial properties |
| 188 | +- [Using indexers (C# Programming Guide)](../csharp/programming-guide/indexers/using-indexers.md) - Add conceptual content for partial properties |
| 189 | +- [Using Properties (C# Programming Guide)](../csharp/programming-guide/classes-and-structs/using-properties.md) - Add conceptual content for partial properties |
| 190 | +- [What's new in C# 11](../csharp/whats-new/csharp-11.md) - Add conceptual content for partial properties |
| 191 | +- [What's new in C# 12](../csharp/whats-new/csharp-12.md) - Add C# 13 small fixes |
| 192 | +- [What's new in C# 13](../csharp/whats-new/csharp-13.md) |
| 193 | + - Add OverloadResolutionPriority conceptual documentation. |
| 194 | + - Add conceptual content for partial properties |
| 195 | + - Add reference and conceptual content for `ref struct` allowed in interfaces |
| 196 | + - update and consolidate errors related to iterators and `yield` |
| 197 | + - Add information for C# 13 feature `ref` locals and `unsafe` contexts in iterators and `async` methods |
| 198 | + - Add params collections |
| 199 | + - Add language reference for `lock` |
| 200 | + - Add C# 13 small fixes |
| 201 | +- [where (generic type constraint) (C# Reference)](../csharp/language-reference/keywords/where-generic-type-constraint.md) - Add reference and conceptual content for `ref struct` allowed in interfaces |
| 202 | +- [yield statement - provide the next element](../csharp/language-reference/statements/yield.md) - Add information for C# 13 feature `ref` locals and `unsafe` contexts in iterators and `async` methods |
| 203 | +- [ZZZ - Title not found in: #42177](../csharp/language-reference/compiler-messages/cs8795.md) - Add conceptual content for partial properties |
| 204 | +- [ZZZ - Title not found in: #42177](../csharp/misc/cs0501.md) - Add conceptual content for partial properties |
| 205 | +- [ZZZ - Title not found in: #42177](../csharp/misc/cs0751.md) - Add conceptual content for partial properties |
| 206 | +- [ZZZ - Title not found in: #41614](../csharp/language-reference/compiler-messages/cs4013.md) - Add information for C# 13 feature `ref` locals and `unsafe` contexts in iterators and `async` methods |
| 207 | +- [ZZZ - Title not found in: #41614](../csharp/language-reference/compiler-messages/cs8176.md) - Add information for C# 13 feature `ref` locals and `unsafe` contexts in iterators and `async` methods |
| 208 | +- [ZZZ - Title not found in: #41614](../csharp/misc/cs1629.md) - Add information for C# 13 feature `ref` locals and `unsafe` contexts in iterators and `async` methods |
| 209 | +- [ZZZ - Title not found in: #40978](../csharp/misc/cs0225.md) - Add params collections |
| 210 | + |
| 211 | +## .NET Framework |
| 212 | + |
| 213 | +### Updated articles |
| 214 | + |
| 215 | +- [Add Business Logic By Using Partial Methods](../framework/data/adonet/sql/linq/adding-business-logic-by-using-partial-methods.md) - Add conceptual content for partial properties |
| 216 | +- [dangerousThreadingAPI MDA](../framework/debug-trace-profile/dangerousthreadingapi-mda.md) - Add language reference for `lock` |
| 217 | + |
0 commit comments