Skip to content

Commit c9445d2

Browse files
authored
.NET 5.0 RC2 API updates (dotnet#4978)
1 parent d1f1693 commit c9445d2

File tree

165 files changed

+6057
-801
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

165 files changed

+6057
-801
lines changed

xml/FrameworksIndex/dotnet-plat-ext-5.0.xml

Lines changed: 226 additions & 0 deletions
Large diffs are not rendered by default.

xml/FrameworksIndex/net-5.0.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32705,13 +32705,18 @@
3270532705
<Member Id="M:System.Net.Http.ReadOnlyMemoryContent.SerializeToStreamAsync(System.IO.Stream,System.Net.TransportContext,System.Threading.CancellationToken)" />
3270632706
<Member Id="M:System.Net.Http.ReadOnlyMemoryContent.TryComputeLength(System.Int64@)" />
3270732707
</Type>
32708+
<Type Name="System.Net.Http.SocketsHttpConnectionContext" Id="T:System.Net.Http.SocketsHttpConnectionContext">
32709+
<Member Id="P:System.Net.Http.SocketsHttpConnectionContext.DnsEndPoint" />
32710+
<Member Id="P:System.Net.Http.SocketsHttpConnectionContext.RequestMessage" />
32711+
</Type>
3270832712
<Type Name="System.Net.Http.SocketsHttpHandler" Id="T:System.Net.Http.SocketsHttpHandler">
3270932713
<Member Id="M:System.Net.Http.SocketsHttpHandler.#ctor" />
3271032714
<Member Id="M:System.Net.Http.SocketsHttpHandler.Dispose(System.Boolean)" />
3271132715
<Member Id="M:System.Net.Http.SocketsHttpHandler.Send(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)" />
3271232716
<Member Id="M:System.Net.Http.SocketsHttpHandler.SendAsync(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)" />
3271332717
<Member Id="P:System.Net.Http.SocketsHttpHandler.AllowAutoRedirect" />
3271432718
<Member Id="P:System.Net.Http.SocketsHttpHandler.AutomaticDecompression" />
32719+
<Member Id="P:System.Net.Http.SocketsHttpHandler.ConnectCallback" />
3271532720
<Member Id="P:System.Net.Http.SocketsHttpHandler.ConnectTimeout" />
3271632721
<Member Id="P:System.Net.Http.SocketsHttpHandler.CookieContainer" />
3271732722
<Member Id="P:System.Net.Http.SocketsHttpHandler.Credentials" />
@@ -72803,6 +72808,17 @@
7280372808
</Type>
7280472809
</Namespace>
7280572810
<Namespace Name="System.Windows.Diagnostics">
72811+
<Type Name="System.Windows.Diagnostics.BindingDiagnostics" Id="T:System.Windows.Diagnostics.BindingDiagnostics">
72812+
<Member Id="E:System.Windows.Diagnostics.BindingDiagnostics.BindingFailed" />
72813+
</Type>
72814+
<Type Name="System.Windows.Diagnostics.BindingFailedEventArgs" Id="T:System.Windows.Diagnostics.BindingFailedEventArgs">
72815+
<Member Id="M:System.Windows.Diagnostics.BindingFailedEventArgs.#ctor" />
72816+
<Member Id="P:System.Windows.Diagnostics.BindingFailedEventArgs.Binding" />
72817+
<Member Id="P:System.Windows.Diagnostics.BindingFailedEventArgs.Code" />
72818+
<Member Id="P:System.Windows.Diagnostics.BindingFailedEventArgs.EventType" />
72819+
<Member Id="P:System.Windows.Diagnostics.BindingFailedEventArgs.Message" />
72820+
<Member Id="P:System.Windows.Diagnostics.BindingFailedEventArgs.Parameters" />
72821+
</Type>
7280672822
<Type Name="System.Windows.Diagnostics.ResourceDictionaryDiagnostics" Id="T:System.Windows.Diagnostics.ResourceDictionaryDiagnostics">
7280772823
<Member Id="E:System.Windows.Diagnostics.ResourceDictionaryDiagnostics.GenericResourceDictionaryLoaded" />
7280872824
<Member Id="E:System.Windows.Diagnostics.ResourceDictionaryDiagnostics.StaticResourceResolved" />
@@ -82065,6 +82081,7 @@
8206582081
<Member Id="E:System.Windows.Forms.RichTextBox.VScroll" />
8206682082
<Member Id="M:System.Windows.Forms.RichTextBox.#ctor" />
8206782083
<Member Id="M:System.Windows.Forms.RichTextBox.CanPaste(System.Windows.Forms.DataFormats.Format)" />
82084+
<Member Id="M:System.Windows.Forms.RichTextBox.CreateAccessibilityInstance" />
8206882085
<Member Id="M:System.Windows.Forms.RichTextBox.CreateRichEditOleCallback" />
8206982086
<Member Id="M:System.Windows.Forms.RichTextBox.DrawToBitmap(System.Drawing.Bitmap,System.Drawing.Rectangle)" />
8207082087
<Member Id="M:System.Windows.Forms.RichTextBox.Find(System.Char[])" />
@@ -83463,6 +83480,8 @@
8346383480
<Member Id="M:System.Windows.Forms.TextBox.OnGotFocus(System.EventArgs)" />
8346483481
<Member Id="M:System.Windows.Forms.TextBox.OnHandleCreated(System.EventArgs)" />
8346583482
<Member Id="M:System.Windows.Forms.TextBox.OnHandleDestroyed(System.EventArgs)" />
83483+
<Member Id="M:System.Windows.Forms.TextBox.OnKeyUp(System.Windows.Forms.KeyEventArgs)" />
83484+
<Member Id="M:System.Windows.Forms.TextBox.OnMouseDown(System.Windows.Forms.MouseEventArgs)" />
8346683485
<Member Id="M:System.Windows.Forms.TextBox.OnTextAlignChanged(System.EventArgs)" />
8346783486
<Member Id="M:System.Windows.Forms.TextBox.Paste(System.String)" />
8346883487
<Member Id="M:System.Windows.Forms.TextBox.ProcessCmdKey(System.Windows.Forms.Message@,System.Windows.Forms.Keys)" />
@@ -83499,6 +83518,7 @@
8349983518
<Member Id="M:System.Windows.Forms.TextBoxBase.Clear" />
8350083519
<Member Id="M:System.Windows.Forms.TextBoxBase.ClearUndo" />
8350183520
<Member Id="M:System.Windows.Forms.TextBoxBase.Copy" />
83521+
<Member Id="M:System.Windows.Forms.TextBoxBase.CreateAccessibilityInstance" />
8350283522
<Member Id="M:System.Windows.Forms.TextBoxBase.CreateHandle" />
8350383523
<Member Id="M:System.Windows.Forms.TextBoxBase.Cut" />
8350483524
<Member Id="M:System.Windows.Forms.TextBoxBase.DeselectAll" />

xml/Microsoft.Extensions.DependencyInjection/OptionsBuilderConfigurationExtensions.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
</TypeParameter>
125125
</TypeParameters>
126126
<Parameters>
127-
<Parameter Name="optionsBuilder" Type="Microsoft.Extensions.Options.OptionsBuilder&lt;TOptions&gt;" Index="0" FrameworkAlternate="dotnet-plat-ext-5.0" RefType="this" />
127+
<Parameter Name="optionsBuilder" Type="Microsoft.Extensions.Options.OptionsBuilder&lt;TOptions&gt;" RefType="this" Index="0" FrameworkAlternate="dotnet-plat-ext-5.0" />
128128
<Parameter Name="configSectionPath" Type="System.String" Index="1" FrameworkAlternate="dotnet-plat-ext-5.0" />
129129
<Parameter Name="configureBinder" Type="System.Action&lt;Microsoft.Extensions.Configuration.BinderOptions&gt;" Index="2" FrameworkAlternate="dotnet-plat-ext-5.0" />
130130
</Parameters>

xml/Microsoft.Extensions.Logging/ConsoleLoggerExtensions.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@
484484
<ReturnType>Microsoft.Extensions.Logging.ILoggingBuilder</ReturnType>
485485
</ReturnValue>
486486
<Parameters>
487-
<Parameter Name="builder" Type="Microsoft.Extensions.Logging.ILoggingBuilder" Index="0" FrameworkAlternate="dotnet-plat-ext-5.0" RefType="this" />
487+
<Parameter Name="builder" Type="Microsoft.Extensions.Logging.ILoggingBuilder" RefType="this" Index="0" FrameworkAlternate="dotnet-plat-ext-5.0" />
488488
</Parameters>
489489
<Docs>
490490
<param name="builder">The current logging builder instance to use.</param>
@@ -536,7 +536,7 @@
536536
<ReturnType>Microsoft.Extensions.Logging.ILoggingBuilder</ReturnType>
537537
</ReturnValue>
538538
<Parameters>
539-
<Parameter Name="builder" Type="Microsoft.Extensions.Logging.ILoggingBuilder" Index="0" FrameworkAlternate="dotnet-plat-ext-5.0" RefType="this" />
539+
<Parameter Name="builder" Type="Microsoft.Extensions.Logging.ILoggingBuilder" RefType="this" Index="0" FrameworkAlternate="dotnet-plat-ext-5.0" />
540540
</Parameters>
541541
<Docs>
542542
<param name="builder">The current logging builder instance to use.</param>
@@ -588,7 +588,7 @@
588588
<ReturnType>Microsoft.Extensions.Logging.ILoggingBuilder</ReturnType>
589589
</ReturnValue>
590590
<Parameters>
591-
<Parameter Name="builder" Type="Microsoft.Extensions.Logging.ILoggingBuilder" Index="0" FrameworkAlternate="dotnet-plat-ext-5.0" RefType="this" />
591+
<Parameter Name="builder" Type="Microsoft.Extensions.Logging.ILoggingBuilder" RefType="this" Index="0" FrameworkAlternate="dotnet-plat-ext-5.0" />
592592
</Parameters>
593593
<Docs>
594594
<param name="builder">The current logging builder instance to use.</param>

xml/System.Buffers/ReadOnlySequence`1.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -351,10 +351,11 @@ The consumer is expected to manage the lifetime of memory until <see cref="T:Sys
351351
<Parameter Name="position" Type="System.SequencePosition" Index="0" FrameworkAlternate="net-5.0" />
352352
</Parameters>
353353
<Docs>
354-
<param name="position">To be added.</param>
355-
<summary>To be added.</summary>
356-
<returns>To be added.</returns>
354+
<param name="position">The <see cref="T:System.SequencePosition" /> of which to get the offset.</param>
355+
<summary>Returns the offset of a <paramref name="position" /> within this sequence from the start.</summary>
356+
<returns>The offset from the start of the sequence.</returns>
357357
<remarks>To be added.</remarks>
358+
<exception cref="T:System.ArgumentOutOfRangeException">The position is out of range.</exception>
358359
</Docs>
359360
</Member>
360361
<Member MemberName="GetPosition">

xml/System.Buffers/SequenceReader`1.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,7 @@ This method copies a fixed amount of data out of the sequence if possible. It do
972972
<param name="delimiter">The delimiter to look for.</param>
973973
<param name="advancePastDelimiter">
974974
<see langword="true" /> to move past the <paramref name="delimiter" /> if found.</param>
975-
<param name="span">To be added.</param>
975+
<param name="span">The read data, if any.</param>
976976
<summary>Try to read everything up to the given <paramref name="delimiter" />.</summary>
977977
<returns>
978978
<see langword="true" /> if the <paramref name="delimiter" /> was found; otherwise, <see langword="false" />.</returns>

xml/System.Collections.Generic/CollectionExtensions.xml

Lines changed: 27 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,11 @@
5757
<Parameter Name="self" Type="System.Collections.Generic.IEnumerable&lt;Microsoft.Extensions.DependencyModel.RuntimeAssetGroup&gt;" Index="0" FrameworkAlternate="dotnet-plat-ext-5.0" RefType="this" />
5858
</Parameters>
5959
<Docs>
60-
<param name="self">To be added.</param>
61-
<summary>To be added.</summary>
62-
<returns>To be added.</returns>
60+
<param name="self">The source enumeration of <see cref="T:Microsoft.Extensions.DependencyModel.RuntimeAssetGroup" />.</param>
61+
<summary>Gets an enumeration of assets where each asset has an empty runtime.</summary>
62+
<returns>An enumeration of assets, each with an empty <see cref="P:Microsoft.Extensions.DependencyModel.RuntimeAssetGroup.Runtime" />.</returns>
6363
<remarks>To be added.</remarks>
64+
<exception cref="T:System.ArgumentNullException">Thrown when <paramref name="self" /> is <see langword="null" />.</exception>
6465
</Docs>
6566
</Member>
6667
<Member MemberName="GetDefaultGroup">
@@ -88,10 +89,11 @@
8889
<Parameter Name="self" Type="System.Collections.Generic.IEnumerable&lt;Microsoft.Extensions.DependencyModel.RuntimeAssetGroup&gt;" Index="0" FrameworkAlternate="dotnet-plat-ext-5.0" RefType="this" />
8990
</Parameters>
9091
<Docs>
91-
<param name="self">To be added.</param>
92-
<summary>To be added.</summary>
93-
<returns>To be added.</returns>
92+
<param name="self">The source enumeration of <see cref="T:Microsoft.Extensions.DependencyModel.RuntimeAssetGroup" />.</param>
93+
<summary>Gets the first <see cref="T:Microsoft.Extensions.DependencyModel.RuntimeAssetGroup" /> with an empty <see cref="P:Microsoft.Extensions.DependencyModel.RuntimeAssetGroup.Runtime" />.</summary>
94+
<returns>The first <see cref="T:Microsoft.Extensions.DependencyModel.RuntimeAssetGroup" /> with an empty <see cref="P:Microsoft.Extensions.DependencyModel.RuntimeAssetGroup.Runtime" />, or <see langword="null" /> if none exists.</returns>
9495
<remarks>To be added.</remarks>
96+
<exception cref="T:System.ArgumentNullException">Thrown when <paramref name="self" /> is <see langword="null" />.</exception>
9597
</Docs>
9698
</Member>
9799
<Member MemberName="GetDefaultRuntimeFileAssets">
@@ -119,10 +121,11 @@
119121
<Parameter Name="self" Type="System.Collections.Generic.IEnumerable&lt;Microsoft.Extensions.DependencyModel.RuntimeAssetGroup&gt;" Index="0" FrameworkAlternate="dotnet-plat-ext-5.0" RefType="this" />
120122
</Parameters>
121123
<Docs>
122-
<param name="self">To be added.</param>
123-
<summary>To be added.</summary>
124-
<returns>To be added.</returns>
124+
<param name="self">The source enumeration of <see cref="T:Microsoft.Extensions.DependencyModel.RuntimeAssetGroup" />.</param>
125+
<summary>Gets an enumeration of <see cref="T:Microsoft.Extensions.DependencyModel.RuntimeFile" /> where each value has an empty runtime.</summary>
126+
<returns>An enumeration of <see cref="T:Microsoft.Extensions.DependencyModel.RuntimeFile" />, each with an empty <see cref="P:Microsoft.Extensions.DependencyModel.RuntimeAssetGroup.Runtime" />.</returns>
125127
<remarks>To be added.</remarks>
128+
<exception cref="T:System.ArgumentNullException">Thrown when <paramref name="self" /> is <see langword="null" />.</exception>
126129
</Docs>
127130
</Member>
128131
<Member MemberName="GetRuntimeAssets">
@@ -151,11 +154,12 @@
151154
<Parameter Name="runtime" Type="System.String" Index="1" FrameworkAlternate="dotnet-plat-ext-5.0" />
152155
</Parameters>
153156
<Docs>
154-
<param name="self">To be added.</param>
155-
<param name="runtime">To be added.</param>
156-
<summary>To be added.</summary>
157-
<returns>To be added.</returns>
157+
<param name="self">The source enumeration of <see cref="T:Microsoft.Extensions.DependencyModel.RuntimeAssetGroup" />.</param>
158+
<param name="runtime">The string to search for.</param>
159+
<summary>Gets an enumeration of assets where each asset's value equals <paramref name="runtime" />.</summary>
160+
<returns>An enumeration of assets where each asset's <see cref="P:Microsoft.Extensions.DependencyModel.RuntimeAssetGroup.Runtime" /> equals <paramref name="runtime" />.</returns>
158161
<remarks>To be added.</remarks>
162+
<exception cref="T:System.ArgumentNullException">Thrown when <paramref name="self" /> is <see langword="null" />.</exception>
159163
</Docs>
160164
</Member>
161165
<Member MemberName="GetRuntimeFileAssets">
@@ -184,11 +188,12 @@
184188
<Parameter Name="runtime" Type="System.String" Index="1" FrameworkAlternate="dotnet-plat-ext-5.0" />
185189
</Parameters>
186190
<Docs>
187-
<param name="self">To be added.</param>
188-
<param name="runtime">To be added.</param>
189-
<summary>To be added.</summary>
190-
<returns>To be added.</returns>
191+
<param name="self">The source enumeration of <see cref="T:Microsoft.Extensions.DependencyModel.RuntimeAssetGroup" />.</param>
192+
<param name="runtime">The string to search for.</param>
193+
<summary>Gets an enumeration of <see cref="T:Microsoft.Extensions.DependencyModel.RuntimeFile" /> where each value's <see cref="P:Microsoft.Extensions.DependencyModel.RuntimeAssetGroup.Runtime" /> equals <paramref name="runtime" />.</summary>
194+
<returns>An enumeration of <see cref="T:Microsoft.Extensions.DependencyModel.RuntimeFile" />, where each value's <see cref="P:Microsoft.Extensions.DependencyModel.RuntimeAssetGroup.Runtime" /> equals <paramref name="runtime" />.</returns>
191195
<remarks>To be added.</remarks>
196+
<exception cref="T:System.ArgumentNullException">Thrown when <paramref name="runtime" /> is <see langword="null" /> or empty.</exception>
192197
</Docs>
193198
</Member>
194199
<Member MemberName="GetRuntimeGroup">
@@ -217,11 +222,12 @@
217222
<Parameter Name="runtime" Type="System.String" Index="1" FrameworkAlternate="dotnet-plat-ext-5.0" />
218223
</Parameters>
219224
<Docs>
220-
<param name="self">To be added.</param>
221-
<param name="runtime">To be added.</param>
222-
<summary>To be added.</summary>
223-
<returns>To be added.</returns>
225+
<param name="self">The source enumeration of <see cref="T:Microsoft.Extensions.DependencyModel.RuntimeAssetGroup" />.</param>
226+
<param name="runtime">The string to search for.</param>
227+
<summary>Gets the first <see cref="T:Microsoft.Extensions.DependencyModel.RuntimeAssetGroup" /> where <see cref="P:Microsoft.Extensions.DependencyModel.RuntimeAssetGroup.Runtime" /> matches <paramref name="runtime" />.</summary>
228+
<returns>The first <see cref="T:Microsoft.Extensions.DependencyModel.RuntimeAssetGroup" /> where <see cref="P:Microsoft.Extensions.DependencyModel.RuntimeAssetGroup.Runtime" /> matches <paramref name="runtime" />, or <see langword="null" /> if none exists.</returns>
224229
<remarks>To be added.</remarks>
230+
<exception cref="T:System.ArgumentNullException">Thrown when <paramref name="runtime" /> is <see langword="null" /> or empty.</exception>
225231
</Docs>
226232
</Member>
227233
<Member MemberName="GetValueOrDefault&lt;TKey,TValue&gt;">

0 commit comments

Comments
 (0)