Skip to content

Commit e89e7b9

Browse files
CI Update
Build.Reason:Manual by Genevieve Warren Build.Url:https://apidrop.visualstudio.com/Content%20CI/_build/results?buildId=535847&view=results source_repo.branch:master source_repo.url:https://apidrop.visualstudio.com/_git/binaries
1 parent ea64b25 commit e89e7b9

File tree

77 files changed

+739
-336
lines changed

Some content is hidden

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

77 files changed

+739
-336
lines changed

xml/Microsoft.Extensions.Caching.Hybrid/HybridCache.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@
181181
<typeparam name="TState">The type of additional state required by <paramref name="factory" />.</typeparam>
182182
<typeparam name="T">The type of the data being considered.</typeparam>
183183
<param name="key">The key of the entry to look for or create.</param>
184-
<param name="factory">Provides the underlying data service if the data is not available in the cache.</param>
185184
<param name="state">The state required for <paramref name="factory" />.</param>
185+
<param name="factory">Provides the underlying data service if the data is not available in the cache.</param>
186186
<param name="options">Additional options for this cache entry.</param>
187187
<param name="tags">The tags to associate with this cache item.</param>
188188
<param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken" /> used to propagate notifications that the operation should be canceled.</param>

xml/Microsoft.Extensions.DependencyInjection.Extensions/ServiceCollectionDescriptorExtensions.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,8 +649,8 @@
649649
<Docs>
650650
<typeparam name="TService">The type of the service to add.</typeparam>
651651
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</param>
652-
<param name="implementationFactory">The factory that creates the service.</param>
653652
<param name="serviceKey">The service key.</param>
653+
<param name="implementationFactory">The factory that creates the service.</param>
654654
<summary>
655655
Adds the specified <typeparamref name="TService" /> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped" /> service
656656
using the factory specified in <paramref name="implementationFactory" />

xml/Microsoft.Extensions.Diagnostics.Metrics/MetricsBuilderExtensions.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@
4848
<Parameter Name="listener" Type="Microsoft.Extensions.Diagnostics.Metrics.IMetricsListener" />
4949
</Parameters>
5050
<Docs>
51-
<param name="listener">The implementation type of the listener.</param>
5251
<param name="builder">The <see cref="T:Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder" />.</param>
52+
<param name="listener">The implementation type of the listener.</param>
5353
<summary>
5454
Registers a new <see cref="T:Microsoft.Extensions.Diagnostics.Metrics.IMetricsListener" /> instance.
5555
</summary>

xml/System.Buffers/ReadOnlySpanAction`2.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<Type Name="ReadOnlySpanAction&lt;T,TArg&gt;" FullName="System.Buffers.ReadOnlySpanAction&lt;T,TArg&gt;">
2-
<TypeSignature Language="C#" Value="public delegate void ReadOnlySpanAction&lt;T,in TArg&gt;(ReadOnlySpan&lt;T&gt; span, TArg arg);" />
2+
<TypeSignature Language="C#" Value="public delegate void ReadOnlySpanAction&lt;T,in TArg&gt;(ReadOnlySpan&lt;T&gt; span, TArg arg) where TArg : allows ref struct;" FrameworkAlternate="net-10.0;net-9.0" />
33
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed ReadOnlySpanAction`2&lt;T, - TArg&gt; extends System.MulticastDelegate" />
44
<TypeSignature Language="DocId" Value="T:System.Buffers.ReadOnlySpanAction`2" />
55
<TypeSignature Language="VB.NET" Value="Public Delegate Sub ReadOnlySpanAction(Of T, In TArg)(span As ReadOnlySpan(Of T), arg As TArg)" />
66
<TypeSignature Language="F#" Value="type ReadOnlySpanAction&lt;'T, 'Arg&gt; = delegate of ReadOnlySpan&lt;'T&gt; * 'Arg -&gt; unit" />
77
<TypeSignature Language="C++ CLI" Value="generic &lt;typename T, typename TArg&gt;&#xA;public delegate void ReadOnlySpanAction(ReadOnlySpan&lt;T&gt; span, TArg arg);" />
8+
<TypeSignature Language="C#" Value="public delegate void ReadOnlySpanAction&lt;T,in TArg&gt;(ReadOnlySpan&lt;T&gt; span, TArg arg);" FrameworkAlternate="net-5.0;net-6.0;net-7.0;net-8.0;netcore-2.1;netcore-2.2;netcore-3.0;netcore-3.1;netstandard-2.1" />
89
<AssemblyInfo>
910
<AssemblyName>System.Runtime</AssemblyName>
1011
<AssemblyVersion>4.2.1.0</AssemblyVersion>
@@ -46,6 +47,7 @@
4647
</Attributes>
4748
<Constraints>
4849
<ParameterAttribute>Contravariant</ParameterAttribute>
50+
<ParameterAttribute>AllowByRefLike</ParameterAttribute>
4951
</Constraints>
5052
</TypeParameter>
5153
</TypeParameters>

xml/System.Buffers/SpanAction`2.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<Type Name="SpanAction&lt;T,TArg&gt;" FullName="System.Buffers.SpanAction&lt;T,TArg&gt;">
2-
<TypeSignature Language="C#" Value="public delegate void SpanAction&lt;T,in TArg&gt;(Span&lt;T&gt; span, TArg arg);" />
2+
<TypeSignature Language="C#" Value="public delegate void SpanAction&lt;T,in TArg&gt;(Span&lt;T&gt; span, TArg arg) where TArg : allows ref struct;" FrameworkAlternate="net-10.0;net-9.0" />
33
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed SpanAction`2&lt;T, - TArg&gt; extends System.MulticastDelegate" />
44
<TypeSignature Language="DocId" Value="T:System.Buffers.SpanAction`2" />
55
<TypeSignature Language="VB.NET" Value="Public Delegate Sub SpanAction(Of T, In TArg)(span As Span(Of T), arg As TArg)" />
66
<TypeSignature Language="F#" Value="type SpanAction&lt;'T, 'Arg&gt; = delegate of Span&lt;'T&gt; * 'Arg -&gt; unit" />
77
<TypeSignature Language="C++ CLI" Value="generic &lt;typename T, typename TArg&gt;&#xA;public delegate void SpanAction(Span&lt;T&gt; span, TArg arg);" />
8+
<TypeSignature Language="C#" Value="public delegate void SpanAction&lt;T,in TArg&gt;(Span&lt;T&gt; span, TArg arg);" FrameworkAlternate="net-5.0;net-6.0;net-7.0;net-8.0;netcore-2.1;netcore-2.2;netcore-3.0;netcore-3.1;netstandard-2.1" />
89
<AssemblyInfo>
910
<AssemblyName>System.Runtime</AssemblyName>
1011
<AssemblyVersion>4.2.1.0</AssemblyVersion>
@@ -46,6 +47,7 @@
4647
</Attributes>
4748
<Constraints>
4849
<ParameterAttribute>Contravariant</ParameterAttribute>
50+
<ParameterAttribute>AllowByRefLike</ParameterAttribute>
4951
</Constraints>
5052
</TypeParameter>
5153
</TypeParameters>

xml/System.Collections.Concurrent/ConcurrentDictionary`2+AlternateLookup`1.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Type Name="ConcurrentDictionary&lt;TKey,TValue&gt;+AlternateLookup&lt;TAlternateKey&gt;" FullName="System.Collections.Concurrent.ConcurrentDictionary&lt;TKey,TValue&gt;+AlternateLookup&lt;TAlternateKey&gt;">
2-
<TypeSignature Language="C#" Value="public readonly struct ConcurrentDictionary&lt;TKey,TValue&gt;.AlternateLookup&lt;TAlternateKey&gt;" />
2+
<TypeSignature Language="C#" Value="public readonly struct ConcurrentDictionary&lt;TKey,TValue&gt;.AlternateLookup&lt;TAlternateKey&gt; where TAlternateKey : allows ref struct" />
33
<TypeSignature Language="ILAsm" Value=".class nested public sequential ansi sealed beforefieldinit ConcurrentDictionary`2/AlternateLookup`1&lt;TKey, TValue, TAlternateKey&gt; extends System.ValueType" />
44
<TypeSignature Language="DocId" Value="T:System.Collections.Concurrent.ConcurrentDictionary`2.AlternateLookup`1" />
55
<TypeSignature Language="VB.NET" Value="Public Structure ConcurrentDictionary(Of TKey, TValue).AlternateLookup(Of TAlternateKey)" />
@@ -24,7 +24,11 @@
2424
</Attribute>
2525
</Attributes>
2626
</TypeParameter>
27-
<TypeParameter Name="TAlternateKey" Index="2" FrameworkAlternate="net-9.0" />
27+
<TypeParameter Name="TAlternateKey" Index="2" FrameworkAlternate="net-9.0">
28+
<Constraints>
29+
<ParameterAttribute>AllowByRefLike</ParameterAttribute>
30+
</Constraints>
31+
</TypeParameter>
2832
</TypeParameters>
2933
<Base>
3034
<BaseTypeName>System.ValueType</BaseTypeName>

xml/System.Collections.Concurrent/ConcurrentDictionary`2.xml

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -704,12 +704,13 @@
704704
</Docs>
705705
</Member>
706706
<Member MemberName="AddOrUpdate&lt;TArg&gt;">
707-
<MemberSignature Language="C#" Value="public TValue AddOrUpdate&lt;TArg&gt; (TKey key, Func&lt;TKey,TArg,TValue&gt; addValueFactory, Func&lt;TKey,TValue,TArg,TValue&gt; updateValueFactory, TArg factoryArgument);" />
707+
<MemberSignature Language="C#" Value="public TValue AddOrUpdate&lt;TArg&gt; (TKey key, Func&lt;TKey,TArg,TValue&gt; addValueFactory, Func&lt;TKey,TValue,TArg,TValue&gt; updateValueFactory, TArg factoryArgument) where TArg : allows ref struct;" FrameworkAlternate="net-10.0;net-9.0" />
708708
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance !TValue AddOrUpdate&lt;TArg&gt;(!TKey key, class System.Func`3&lt;!TKey, !!TArg, !TValue&gt; addValueFactory, class System.Func`4&lt;!TKey, !TValue, !!TArg, !TValue&gt; updateValueFactory, !!TArg factoryArgument) cil managed" />
709709
<MemberSignature Language="DocId" Value="M:System.Collections.Concurrent.ConcurrentDictionary`2.AddOrUpdate``1(`0,System.Func{`0,``0,`1},System.Func{`0,`1,``0,`1},``0)" />
710710
<MemberSignature Language="VB.NET" Value="Public Function AddOrUpdate(Of TArg) (key As TKey, addValueFactory As Func(Of TKey, TArg, TValue), updateValueFactory As Func(Of TKey, TValue, TArg, TValue), factoryArgument As TArg) As TValue" />
711711
<MemberSignature Language="F#" Value="member this.AddOrUpdate : 'Key * Func&lt;'Key, 'Arg, 'Value&gt; * Func&lt;'Key, 'Value, 'Arg, 'Value&gt; * 'Arg -&gt; 'Value" Usage="concurrentDictionary.AddOrUpdate (key, addValueFactory, updateValueFactory, factoryArgument)" />
712712
<MemberSignature Language="C++ CLI" Value="public:&#xA;generic &lt;typename TArg&gt;&#xA; TValue AddOrUpdate(TKey key, Func&lt;TKey, TArg, TValue&gt; ^ addValueFactory, Func&lt;TKey, TValue, TArg, TValue&gt; ^ updateValueFactory, TArg factoryArgument);" />
713+
<MemberSignature Language="C#" Value="public TValue AddOrUpdate&lt;TArg&gt; (TKey key, Func&lt;TKey,TArg,TValue&gt; addValueFactory, Func&lt;TKey,TValue,TArg,TValue&gt; updateValueFactory, TArg factoryArgument);" FrameworkAlternate="net-5.0;net-6.0;net-7.0;net-8.0;netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netcore-3.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1;netstandard-2.1" />
713714
<MemberType>Method</MemberType>
714715
<AssemblyInfo>
715716
<AssemblyName>System.Collections.Concurrent</AssemblyName>
@@ -741,6 +742,9 @@
741742
<AttributeName Language="F#">[&lt;System.Runtime.CompilerServices.Nullable(2)&gt;]</AttributeName>
742743
</Attribute>
743744
</Attributes>
745+
<Constraints>
746+
<ParameterAttribute>AllowByRefLike</ParameterAttribute>
747+
</Constraints>
744748
</TypeParameter>
745749
</TypeParameters>
746750
<Parameters>
@@ -969,7 +973,7 @@
969973
</Docs>
970974
</Member>
971975
<Member MemberName="GetAlternateLookup&lt;TAlternateKey&gt;">
972-
<MemberSignature Language="C#" Value="public System.Collections.Concurrent.ConcurrentDictionary&lt;TKey,TValue&gt;.AlternateLookup&lt;TAlternateKey&gt; GetAlternateLookup&lt;TAlternateKey&gt; ();" />
976+
<MemberSignature Language="C#" Value="public System.Collections.Concurrent.ConcurrentDictionary&lt;TKey,TValue&gt;.AlternateLookup&lt;TAlternateKey&gt; GetAlternateLookup&lt;TAlternateKey&gt; () where TAlternateKey : allows ref struct;" />
973977
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance valuetype System.Collections.Concurrent.ConcurrentDictionary`2/AlternateLookup`1&lt;!TKey, !TValue, !!TAlternateKey&gt; GetAlternateLookup&lt;TAlternateKey&gt;() cil managed" />
974978
<MemberSignature Language="DocId" Value="M:System.Collections.Concurrent.ConcurrentDictionary`2.GetAlternateLookup``1" />
975979
<MemberSignature Language="VB.NET" Value="Public Function GetAlternateLookup(Of TAlternateKey) () As ConcurrentDictionary(Of TKey, TValue).AlternateLookup(Of TAlternateKey)" />
@@ -997,7 +1001,11 @@
9971001
</Attributes>
9981002
</ReturnValue>
9991003
<TypeParameters>
1000-
<TypeParameter Name="TAlternateKey" />
1004+
<TypeParameter Name="TAlternateKey">
1005+
<Constraints>
1006+
<ParameterAttribute>AllowByRefLike</ParameterAttribute>
1007+
</Constraints>
1008+
</TypeParameter>
10011009
</TypeParameters>
10021010
<Parameters />
10031011
<Docs>
@@ -1227,12 +1235,13 @@
12271235
</Docs>
12281236
</Member>
12291237
<Member MemberName="GetOrAdd&lt;TArg&gt;">
1230-
<MemberSignature Language="C#" Value="public TValue GetOrAdd&lt;TArg&gt; (TKey key, Func&lt;TKey,TArg,TValue&gt; valueFactory, TArg factoryArgument);" />
1238+
<MemberSignature Language="C#" Value="public TValue GetOrAdd&lt;TArg&gt; (TKey key, Func&lt;TKey,TArg,TValue&gt; valueFactory, TArg factoryArgument) where TArg : allows ref struct;" FrameworkAlternate="net-10.0;net-9.0" />
12311239
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance !TValue GetOrAdd&lt;TArg&gt;(!TKey key, class System.Func`3&lt;!TKey, !!TArg, !TValue&gt; valueFactory, !!TArg factoryArgument) cil managed" />
12321240
<MemberSignature Language="DocId" Value="M:System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd``1(`0,System.Func{`0,``0,`1},``0)" />
12331241
<MemberSignature Language="VB.NET" Value="Public Function GetOrAdd(Of TArg) (key As TKey, valueFactory As Func(Of TKey, TArg, TValue), factoryArgument As TArg) As TValue" />
12341242
<MemberSignature Language="F#" Value="member this.GetOrAdd : 'Key * Func&lt;'Key, 'Arg, 'Value&gt; * 'Arg -&gt; 'Value" Usage="concurrentDictionary.GetOrAdd (key, valueFactory, factoryArgument)" />
12351243
<MemberSignature Language="C++ CLI" Value="public:&#xA;generic &lt;typename TArg&gt;&#xA; TValue GetOrAdd(TKey key, Func&lt;TKey, TArg, TValue&gt; ^ valueFactory, TArg factoryArgument);" />
1244+
<MemberSignature Language="C#" Value="public TValue GetOrAdd&lt;TArg&gt; (TKey key, Func&lt;TKey,TArg,TValue&gt; valueFactory, TArg factoryArgument);" FrameworkAlternate="net-5.0;net-6.0;net-7.0;net-8.0;netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netcore-3.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1;netstandard-2.1" />
12361245
<MemberType>Method</MemberType>
12371246
<AssemblyInfo>
12381247
<AssemblyName>System.Collections.Concurrent</AssemblyName>
@@ -1264,6 +1273,9 @@
12641273
<AttributeName Language="F#">[&lt;System.Runtime.CompilerServices.Nullable(2)&gt;]</AttributeName>
12651274
</Attribute>
12661275
</Attributes>
1276+
<Constraints>
1277+
<ParameterAttribute>AllowByRefLike</ParameterAttribute>
1278+
</Constraints>
12671279
</TypeParameter>
12681280
</TypeParameters>
12691281
<Parameters>
@@ -2714,7 +2726,7 @@ This member is an explicit interface member implementation. It can be used only
27142726
</Docs>
27152727
</Member>
27162728
<Member MemberName="TryGetAlternateLookup&lt;TAlternateKey&gt;">
2717-
<MemberSignature Language="C#" Value="public bool TryGetAlternateLookup&lt;TAlternateKey&gt; (out System.Collections.Concurrent.ConcurrentDictionary&lt;TKey,TValue&gt;.AlternateLookup&lt;TAlternateKey&gt; lookup);" />
2729+
<MemberSignature Language="C#" Value="public bool TryGetAlternateLookup&lt;TAlternateKey&gt; (out System.Collections.Concurrent.ConcurrentDictionary&lt;TKey,TValue&gt;.AlternateLookup&lt;TAlternateKey&gt; lookup) where TAlternateKey : allows ref struct;" />
27182730
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool TryGetAlternateLookup&lt;TAlternateKey&gt;([out] valuetype System.Collections.Concurrent.ConcurrentDictionary`2/AlternateLookup`1&lt;!TKey, !TValue, !!TAlternateKey&gt;&amp; lookup) cil managed" />
27192731
<MemberSignature Language="DocId" Value="M:System.Collections.Concurrent.ConcurrentDictionary`2.TryGetAlternateLookup``1(System.Collections.Concurrent.ConcurrentDictionary`2.AlternateLookup{`0,`1,``0}@)" />
27202732
<MemberSignature Language="VB.NET" Value="Public Function TryGetAlternateLookup(Of TAlternateKey) (ByRef lookup As ConcurrentDictionary(Of TKey, TValue).AlternateLookup(Of TAlternateKey)) As Boolean" />
@@ -2736,7 +2748,11 @@ This member is an explicit interface member implementation. It can be used only
27362748
<ReturnType>System.Boolean</ReturnType>
27372749
</ReturnValue>
27382750
<TypeParameters>
2739-
<TypeParameter Name="TAlternateKey" />
2751+
<TypeParameter Name="TAlternateKey">
2752+
<Constraints>
2753+
<ParameterAttribute>AllowByRefLike</ParameterAttribute>
2754+
</Constraints>
2755+
</TypeParameter>
27402756
</TypeParameters>
27412757
<Parameters>
27422758
<Parameter Name="lookup" Type="System.Collections.Concurrent.ConcurrentDictionary&lt;TKey,TValue&gt;+AlternateLookup&lt;TAlternateKey&gt;" RefType="out" Index="0" FrameworkAlternate="net-9.0;net-10.0">

xml/System.Collections.Frozen/FrozenDictionary`2+AlternateLookup`1.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Type Name="FrozenDictionary&lt;TKey,TValue&gt;+AlternateLookup&lt;TAlternateKey&gt;" FullName="System.Collections.Frozen.FrozenDictionary&lt;TKey,TValue&gt;+AlternateLookup&lt;TAlternateKey&gt;">
2-
<TypeSignature Language="C#" Value="public readonly struct FrozenDictionary&lt;TKey,TValue&gt;.AlternateLookup&lt;TAlternateKey&gt;" />
2+
<TypeSignature Language="C#" Value="public readonly struct FrozenDictionary&lt;TKey,TValue&gt;.AlternateLookup&lt;TAlternateKey&gt; where TAlternateKey : allows ref struct" />
33
<TypeSignature Language="ILAsm" Value=".class nested public sequential ansi sealed beforefieldinit FrozenDictionary`2/AlternateLookup`1&lt;TKey, TValue, TAlternateKey&gt; extends System.ValueType" />
44
<TypeSignature Language="DocId" Value="T:System.Collections.Frozen.FrozenDictionary`2.AlternateLookup`1" />
55
<TypeSignature Language="VB.NET" Value="Public Structure FrozenDictionary(Of TKey, TValue).AlternateLookup(Of TAlternateKey)" />
@@ -20,7 +20,11 @@
2020
</Attribute>
2121
</Attributes>
2222
</TypeParameter>
23-
<TypeParameter Name="TAlternateKey" />
23+
<TypeParameter Name="TAlternateKey">
24+
<Constraints>
25+
<ParameterAttribute>AllowByRefLike</ParameterAttribute>
26+
</Constraints>
27+
</TypeParameter>
2428
</TypeParameters>
2529
<Base>
2630
<BaseTypeName>System.ValueType</BaseTypeName>

0 commit comments

Comments
 (0)