Skip to content

Commit 5c69aa7

Browse files
Preview release version bump (#3306)
1 parent 01e07af commit 5c69aa7

13 files changed

+18
-16
lines changed

iothub/device/src/Microsoft.Azure.Devices.Client.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</PropertyGroup>
2929

3030
<PropertyGroup>
31-
<Version>2.0.0-preview004</Version>
31+
<Version>2.0.0-preview005</Version>
3232
<Title>Microsoft Azure IoT Device Client SDK</Title>
3333
<IncludeSource>True</IncludeSource>
3434
<IncludeSymbols>True</IncludeSymbols>

iothub/device/src/Pipeline/ClientTransportStateMachine.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,15 @@ internal enum ClientStateAction
3333
/// <summary>
3434
/// This state machine stores the current state of the delegating pipeline and evalautes if the requested state transition is possible.
3535
/// </summary>
36+
#pragma warning disable CA1852 // used in debug for unit test mocking
3637
internal class ClientTransportStateMachine
38+
#pragma warning restore CA1852
3739
{
3840
/// <summary>
3941
/// This internal class is created for the purpose of evaluating if the proposed state transition is acceptable.
4042
/// Objects of this class are maintained in a dictionary of "acceptable" state transitions.
4143
/// </summary>
42-
internal class StateTransition
44+
internal sealed class StateTransition
4345
{
4446
private readonly ClientTransportState _currentState;
4547
private readonly ClientStateAction _nextAction;

iothub/device/src/Transport/Amqp/PendingAmqpTwinOperation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace Microsoft.Azure.Devices.Client.Transport.Amqp
1313
/// receiving link, we need a way to identify the request, when it was sent, and the task completion source to complete the
1414
/// waiting user's task.
1515
/// </summary>
16-
internal class PendingAmqpTwinOperation
16+
internal sealed class PendingAmqpTwinOperation
1717
{
1818
public PendingAmqpTwinOperation(TaskCompletionSource<AmqpMessage> completionTask)
1919
{

iothub/device/src/Transport/Mqtt/PendingMqttTwinOperation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace Microsoft.Azure.Devices.Client.Transport.Mqtt
1212
/// topic, we need a way to identify the request, when it was sent, and the task completion source to complete the
1313
/// waiting user's task.
1414
/// </summary>
15-
internal class PendingMqttTwinOperation
15+
internal sealed class PendingMqttTwinOperation
1616
{
1717
/// <summary>
1818
/// Constructor for get twin operations.

iothub/service/src/Microsoft.Azure.Devices.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</PropertyGroup>
2828

2929
<PropertyGroup>
30-
<Version>2.0.0-preview004</Version>
30+
<Version>2.0.0-preview005</Version>
3131
<Title>Microsoft Azure IoT Service Client SDK</Title>
3232
<IncludeSource>True</IncludeSource>
3333
<IncludeSymbols>True</IncludeSymbols>

iothub/service/src/Query/PageableHelpers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ internal static AsyncPageable<T> CreateAsyncEnumerable<T>(Func<int?, Task<Page<T
2424
internal delegate Task<Page<T>> AsyncPageFunc<T>(string continuationToken = default, int? pageSizeHint = default);
2525
internal delegate Page<T> PageFunc<T>(string continuationToken = default, int? pageSizeHint = default);
2626

27-
internal class FuncAsyncPageable<T> : AsyncPageable<T> where T : notnull
27+
internal sealed class FuncAsyncPageable<T> : AsyncPageable<T> where T : notnull
2828
{
2929
private readonly AsyncPageFunc<T> _firstPageFunc;
3030
private readonly AsyncPageFunc<T> _nextPageFunc;

iothub/service/src/Query/QueryResponse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.Devices
1616
/// helper functions to instantiate the abstract class Response, but this library is not in that repo yet. Because of that,
1717
/// we need to implement the abstract class.
1818
/// </summary>
19-
internal class QueryResponse : Response
19+
internal sealed class QueryResponse : Response
2020
{
2121
private HttpResponseMessage _httpResponse;
2222
private List<HttpHeader> _httpHeaders;

provisioning/device/src/Microsoft.Azure.Devices.Provisioning.Client.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
</PropertyGroup>
2727

2828
<PropertyGroup>
29-
<Version>2.0.0-preview004</Version>
29+
<Version>2.0.0-preview005</Version>
3030
<Title>Microsoft Azure IoT Provisioning Device Client SDK</Title>
3131
<IncludeSource>True</IncludeSource>
3232
<IncludeSymbols>True</IncludeSymbols>

provisioning/service/src/Microsoft.Azure.Devices.Provisioning.Service.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</PropertyGroup>
2828

2929
<PropertyGroup>
30-
<Version>2.0.0-preview004</Version>
30+
<Version>2.0.0-preview005</Version>
3131
<Title>Microsoft Azure IoT Provisioning Service Client SDK</Title>
3232
<IncludeSource>True</IncludeSource>
3333
<IncludeSymbols>True</IncludeSymbols>

provisioning/service/src/Models/QueryResponse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.Devices.Provisioning.Service
1616
/// helper functions to instantiate the abstract class Response, but this library is not in that repo yet. Because of that,
1717
/// we need to implement the abstract class.
1818
/// </summary>
19-
internal class QueryResponse : Response
19+
internal sealed class QueryResponse : Response
2020
{
2121
private HttpResponseMessage _httpResponse;
2222
private List<HttpHeader> _httpHeaders;

0 commit comments

Comments
 (0)