Skip to content

Commit

Permalink
Remove the preview language version (Azure#16098)
Browse files Browse the repository at this point in the history
  • Loading branch information
pakrym authored and annelo-msft committed Feb 17, 2021
1 parent d584b09 commit 912e5d1
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 9 deletions.
1 change: 0 additions & 1 deletion eng/Directory.Build.Data.props
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@
<DelaySign>false</DelaySign>
<PublicSign>false</PublicSign>
<ImportDefaultReferences>false</ImportDefaultReferences>
<LangVersion>preview</LangVersion>
<DocumentationFile>$(IntermediateOutputPath)$(TargetFramework)\$(MSBuildProjectName).xml</DocumentationFile>

<!-- The set of tags that should be added to the packages -->
Expand Down
1 change: 0 additions & 1 deletion samples/linecounter/LineCounter.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp3.0</TargetFramework>
<LangVersion>preview</LangVersion>
<UserSecretsId>67ca5d37-051b-4ab1-b013-c74a2d4edb76</UserSecretsId>
</PropertyGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
<VersionPrefix>2.2.0</VersionPrefix>
<TargetFrameworks>$(RequiredTargetFrameworks)</TargetFrameworks>
<LangVersion>preview</LangVersion>
<IsClientLibrary>true</IsClientLibrary>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public async Task VerifyAuthenticationRecordOption()
var mockMsalClient = new MockMsalPublicClient
{
Accounts = new List<IAccount> { new MockAccount("nonexpecteduser@mockdomain.com") },
ExtendedSilentAuthFactory = (_, account, _, _) =>
ExtendedSilentAuthFactory = (_, account, __, ___) =>
{
Assert.AreEqual(expectedUsername, account.Username);
Expand Down
10 changes: 5 additions & 5 deletions sdk/storage/Azure.Storage.Blobs.ChangeFeed/tests/ShardTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public async Task GetCursor()
It.IsAny<long>(),
It.IsAny<long>(),
It.IsAny<CancellationToken>()))
.Returns((bool _, string path, long _, long _, CancellationToken _) => Task.FromResult(chunks[path].Object));
.Returns((bool _, string path, long __, long ___, CancellationToken ____) => Task.FromResult(chunks[path].Object));

ShardFactory shardFactory = new ShardFactory(
containerClient.Object,
Expand Down Expand Up @@ -172,7 +172,7 @@ public async Task HasNext_False()
It.IsAny<long>(),
It.IsAny<long>(),
It.IsAny<CancellationToken>()))
.Returns((bool _, string path, long _, long _, CancellationToken _) => Task.FromResult(chunks[path].Object));
.Returns((bool _, string path, long __, long ___, CancellationToken ____) => Task.FromResult(chunks[path].Object));

chunks["chunk5"].Setup(r => r.HasNext()).Returns(false);

Expand Down Expand Up @@ -271,7 +271,7 @@ public async Task HasNext_ChunksLeft()
It.IsAny<long>(),
It.IsAny<long>(),
It.IsAny<CancellationToken>()))
.Returns((bool _, string path, long _, long _, CancellationToken _) => Task.FromResult(chunks[path].Object));
.Returns((bool _, string path, long __, long ___, CancellationToken ____) => Task.FromResult(chunks[path].Object));

ShardFactory shardFactory = new ShardFactory(
containerClient.Object,
Expand Down Expand Up @@ -366,7 +366,7 @@ public async Task HasNext_CurrentChunkHasNext()
It.IsAny<long>(),
It.IsAny<long>(),
It.IsAny<CancellationToken>()))
.Returns((bool _, string path, long _, long _, CancellationToken _) => Task.FromResult(chunks[path].Object));
.Returns((bool _, string path, long __, long ___, CancellationToken ____) => Task.FromResult(chunks[path].Object));

chunks["chunk5"].Setup(r => r.HasNext()).Returns(true);

Expand Down Expand Up @@ -482,7 +482,7 @@ public async Task Next()
It.IsAny<long>(),
It.IsAny<long>(),
It.IsAny<CancellationToken>()))
.Returns((bool _, string path, long _, long _, CancellationToken _) => Task.FromResult(chunks[path].Object));
.Returns((bool _, string path, long __, long ___, CancellationToken ____) => Task.FromResult(chunks[path].Object));

chunks["chunk2"].SetupSequence(r => r.HasNext())
.Returns(true)
Expand Down

0 comments on commit 912e5d1

Please sign in to comment.