Skip to content

Commit 361d413

Browse files
authored
Add 4.0.1 packages for Microsoft.CodeAnalysis (#1227)
1 parent 8c2cd30 commit 361d413

File tree

56 files changed

+39528
-0
lines changed

Some content is hidden

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

56 files changed

+39528
-0
lines changed

eng/Versions.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<UsingToolXliff>false</UsingToolXliff>
99
</PropertyGroup>
1010
<PropertyGroup>
11+
<HumanizerCoreVersion>2.14.1</HumanizerCoreVersion>
1112
<!-- MSBuild dependencies -->
1213
<MicrosoftBuildUtilitiesCoreVersion>17.8.3</MicrosoftBuildUtilitiesCoreVersion>
1314
<!-- NuGet dependencies -->
235 KB
Binary file not shown.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
5+
<PackageVersion>5.0.0</PackageVersion>
6+
<AssemblyName>Microsoft.Bcl.AsyncInterfaces</AssemblyName>
7+
<StrongNameKeyId>Open</StrongNameKeyId>
8+
</PropertyGroup>
9+
10+
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
11+
<ProjectReference Include="../../system.threading.tasks.extensions/4.5.4/System.Threading.Tasks.Extensions.4.5.4.csproj" />
12+
</ItemGroup>
13+
14+
</Project>
Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
// ------------------------------------------------------------------------------
5+
// Changes to this file must follow the http://aka.ms/api-review process.
6+
// ------------------------------------------------------------------------------
7+
[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)]
8+
[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)]
9+
[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
10+
[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = "")]
11+
[assembly: System.CLSCompliant(true)]
12+
[assembly: System.Reflection.AssemblyDefaultAlias("Microsoft.Bcl.AsyncInterfaces")]
13+
[assembly: System.Reflection.AssemblyMetadata(".NETFrameworkAssembly", "")]
14+
[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")]
15+
[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")]
16+
[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")]
17+
[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")]
18+
[assembly: System.Reflection.AssemblyDescription("Microsoft.Bcl.AsyncInterfaces")]
19+
[assembly: System.Reflection.AssemblyFileVersion("5.0.20.51904")]
20+
[assembly: System.Reflection.AssemblyInformationalVersion("5.0.0+cf258a14b70ad9069470a108f13765e0e5988f51")]
21+
[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")]
22+
[assembly: System.Reflection.AssemblyTitle("Microsoft.Bcl.AsyncInterfaces")]
23+
[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "git://github.com/dotnet/runtime")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("5.0.0.0")]
25+
[assembly: System.Runtime.CompilerServices.ReferenceAssembly]
26+
[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)]
27+
namespace System
28+
{
29+
public partial interface IAsyncDisposable
30+
{
31+
Threading.Tasks.ValueTask DisposeAsync();
32+
}
33+
}
34+
35+
namespace System.Collections.Generic
36+
{
37+
public partial interface IAsyncEnumerable<out T>
38+
{
39+
IAsyncEnumerator<T> GetAsyncEnumerator(Threading.CancellationToken cancellationToken = default);
40+
}
41+
42+
public partial interface IAsyncEnumerator<out T> : IAsyncDisposable
43+
{
44+
T Current { get; }
45+
46+
Threading.Tasks.ValueTask<bool> MoveNextAsync();
47+
}
48+
}
49+
50+
namespace System.Runtime.CompilerServices
51+
{
52+
public partial struct AsyncIteratorMethodBuilder
53+
{
54+
private object _dummy;
55+
private int _dummyPrimitive;
56+
public void AwaitOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter awaiter, ref TStateMachine stateMachine)
57+
where TAwaiter : INotifyCompletion where TStateMachine : IAsyncStateMachine { }
58+
59+
public void AwaitUnsafeOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter awaiter, ref TStateMachine stateMachine)
60+
where TAwaiter : ICriticalNotifyCompletion where TStateMachine : IAsyncStateMachine { }
61+
62+
public void Complete() { }
63+
64+
public static AsyncIteratorMethodBuilder Create() { throw null; }
65+
66+
public void MoveNext<TStateMachine>(ref TStateMachine stateMachine)
67+
where TStateMachine : IAsyncStateMachine { }
68+
}
69+
70+
[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
71+
public sealed partial class AsyncIteratorStateMachineAttribute : StateMachineAttribute
72+
{
73+
public AsyncIteratorStateMachineAttribute(Type stateMachineType) : base(default!) { }
74+
}
75+
76+
public readonly partial struct ConfiguredAsyncDisposable
77+
{
78+
private readonly object _dummy;
79+
private readonly int _dummyPrimitive;
80+
public readonly ConfiguredValueTaskAwaitable DisposeAsync() { throw null; }
81+
}
82+
83+
public readonly partial struct ConfiguredCancelableAsyncEnumerable<T>
84+
{
85+
private readonly Collections.Generic.IAsyncEnumerable<T> _enumerable;
86+
private readonly object _dummy;
87+
private readonly int _dummyPrimitive;
88+
public readonly ConfiguredCancelableAsyncEnumerable<T> ConfigureAwait(bool continueOnCapturedContext) { throw null; }
89+
90+
public readonly Enumerator GetAsyncEnumerator() { throw null; }
91+
92+
public readonly ConfiguredCancelableAsyncEnumerable<T> WithCancellation(Threading.CancellationToken cancellationToken) { throw null; }
93+
94+
public readonly partial struct Enumerator
95+
{
96+
private readonly Collections.Generic.IAsyncEnumerator<T> _enumerator;
97+
private readonly object _dummy;
98+
private readonly int _dummyPrimitive;
99+
public T Current { get { throw null; } }
100+
101+
public readonly ConfiguredValueTaskAwaitable DisposeAsync() { throw null; }
102+
103+
public readonly ConfiguredValueTaskAwaitable<bool> MoveNextAsync() { throw null; }
104+
}
105+
}
106+
107+
[AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
108+
public sealed partial class EnumeratorCancellationAttribute : Attribute
109+
{
110+
}
111+
}
112+
113+
namespace System.Threading.Tasks
114+
{
115+
public static partial class TaskAsyncEnumerableExtensions
116+
{
117+
public static Runtime.CompilerServices.ConfiguredAsyncDisposable ConfigureAwait(this IAsyncDisposable source, bool continueOnCapturedContext) { throw null; }
118+
119+
public static Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable<T> ConfigureAwait<T>(this Collections.Generic.IAsyncEnumerable<T> source, bool continueOnCapturedContext) { throw null; }
120+
121+
public static Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable<T> WithCancellation<T>(this Collections.Generic.IAsyncEnumerable<T> source, CancellationToken cancellationToken) { throw null; }
122+
}
123+
}
124+
125+
namespace System.Threading.Tasks.Sources
126+
{
127+
public partial struct ManualResetValueTaskSourceCore<TResult>
128+
{
129+
private TResult _result;
130+
private object _dummy;
131+
private int _dummyPrimitive;
132+
public bool RunContinuationsAsynchronously { get { throw null; } set { } }
133+
134+
public short Version { get { throw null; } }
135+
136+
public TResult GetResult(short token) { throw null; }
137+
138+
public ValueTaskSourceStatus GetStatus(short token) { throw null; }
139+
140+
public void OnCompleted(Action<object> continuation, object state, short token, ValueTaskSourceOnCompletedFlags flags) { }
141+
142+
public void Reset() { }
143+
144+
public void SetException(Exception error) { }
145+
146+
public void SetResult(TResult result) { }
147+
}
148+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
// ------------------------------------------------------------------------------
5+
// Changes to this file must follow the http://aka.ms/api-review process.
6+
// ------------------------------------------------------------------------------
7+
[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)]
8+
[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)]
9+
[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
10+
[assembly: System.CLSCompliant(true)]
11+
[assembly: System.Reflection.AssemblyDefaultAlias("Microsoft.Bcl.AsyncInterfaces")]
12+
[assembly: System.Reflection.AssemblyMetadata(".NETFrameworkAssembly", "")]
13+
[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")]
14+
[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")]
15+
[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")]
16+
[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")]
17+
[assembly: System.Reflection.AssemblyDescription("Microsoft.Bcl.AsyncInterfaces")]
18+
[assembly: System.Reflection.AssemblyFileVersion("5.0.20.51904")]
19+
[assembly: System.Reflection.AssemblyInformationalVersion("5.0.0+cf258a14b70ad9069470a108f13765e0e5988f51")]
20+
[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")]
21+
[assembly: System.Reflection.AssemblyTitle("Microsoft.Bcl.AsyncInterfaces")]
22+
[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "git://github.com/dotnet/runtime")]
23+
[assembly: System.Reflection.AssemblyVersionAttribute("5.0.0.0")]
24+
[assembly: System.Runtime.CompilerServices.ReferenceAssembly]
25+
[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)]
26+
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Generic.IAsyncEnumerable<>))]
27+
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Generic.IAsyncEnumerator<>))]
28+
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.IAsyncDisposable))]
29+
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.AsyncIteratorMethodBuilder))]
30+
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.AsyncIteratorStateMachineAttribute))]
31+
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.ConfiguredAsyncDisposable))]
32+
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable<>))]
33+
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.EnumeratorCancellationAttribute))]
34+
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore<>))]
35+
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Threading.Tasks.TaskAsyncEnumerableExtensions))]
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
3+
<metadata minClientVersion="2.12">
4+
<id>Microsoft.Bcl.AsyncInterfaces</id>
5+
<version>5.0.0</version>
6+
<title>Microsoft.Bcl.AsyncInterfaces</title>
7+
<authors>Microsoft</authors>
8+
<owners>microsoft,dotnetframework</owners>
9+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
10+
<license type="expression">MIT</license>
11+
<licenseUrl>https://licenses.nuget.org/MIT</licenseUrl>
12+
<projectUrl>https://github.com/dotnet/runtime</projectUrl>
13+
<iconUrl>http://go.microsoft.com/fwlink/?LinkID=288859</iconUrl>
14+
<description>Provides the IAsyncEnumerable&lt;T&gt; and IAsyncDisposable interfaces and helper types for .NET Standard 2.0. This package is not required starting with .NET Standard 2.1 and .NET Core 3.0.
15+
16+
Commonly Used Types:
17+
System.IAsyncDisposable
18+
System.Collections.Generic.IAsyncEnumerable
19+
System.Collections.Generic.IAsyncEnumerator
20+
21+
When using NuGet 3.x this package requires at least version 3.4.</description>
22+
<releaseNotes>https://go.microsoft.com/fwlink/?LinkID=799421</releaseNotes>
23+
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
24+
<serviceable>true</serviceable>
25+
<repository type="git" url="git://github.com/dotnet/runtime" commit="cf258a14b70ad9069470a108f13765e0e5988f51" />
26+
<dependencies>
27+
<group targetFramework=".NETStandard2.0">
28+
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
29+
</group>
30+
<group targetFramework=".NETStandard2.1" />
31+
</dependencies>
32+
</metadata>
33+
</package>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<Project>
2+
3+
<ItemGroup>
4+
<!-- Analyzers are excluded from SBRPs -->
5+
<ProjectReference Remove="../../microsoft.codeanalysis.analyzers/3.3.2/Microsoft.CodeAnalysis.Analyzers.3.3.2.csproj" />
6+
</ItemGroup>
7+
8+
</Project>
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFrameworks>netstandard2.0</TargetFrameworks>
5+
<PackageVersion>4.0.1</PackageVersion>
6+
<AssemblyName>Microsoft.CodeAnalysis</AssemblyName>
7+
<StrongNameKeyId>MicrosoftShared</StrongNameKeyId>
8+
</PropertyGroup>
9+
10+
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
11+
<ProjectReference Include="../../microsoft.codeanalysis.analyzers/3.3.2/Microsoft.CodeAnalysis.Analyzers.3.3.2.csproj" />
12+
<ProjectReference Include="../../system.collections.immutable/5.0.0/System.Collections.Immutable.5.0.0.csproj" />
13+
<ProjectReference Include="../../system.memory/4.5.4/System.Memory.4.5.4.csproj" />
14+
<ProjectReference Include="../../system.reflection.metadata/5.0.0/System.Reflection.Metadata.5.0.0.csproj" />
15+
<ProjectReference Include="../../system.runtime.compilerservices.unsafe/5.0.0/System.Runtime.CompilerServices.Unsafe.5.0.0.csproj" />
16+
<ProjectReference Include="../../system.text.encoding.codepages/4.5.1/System.Text.Encoding.CodePages.4.5.1.csproj" />
17+
<ProjectReference Include="../../system.threading.tasks.extensions/4.5.4/System.Threading.Tasks.Extensions.4.5.4.csproj" />
18+
</ItemGroup>
19+
20+
</Project>

0 commit comments

Comments
 (0)