Skip to content

Commit

Permalink
Hide misspelled BlobErrorCode (#25363)
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmcc-msft authored Nov 17, 2021
1 parent bc940a5 commit fdc5bbf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,7 @@ public BlobDownloadToOptions() { }
public static Azure.Storage.Blobs.Models.BlobErrorCode SequenceNumberConditionNotMet { get { throw null; } }
public static Azure.Storage.Blobs.Models.BlobErrorCode SequenceNumberIncrementTooLarge { get { throw null; } }
public static Azure.Storage.Blobs.Models.BlobErrorCode ServerBusy { get { throw null; } }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public static Azure.Storage.Blobs.Models.BlobErrorCode SnaphotOperationRateExceeded { get { throw null; } }
public static Azure.Storage.Blobs.Models.BlobErrorCode SnapshotCountExceeded { get { throw null; } }
public static Azure.Storage.Blobs.Models.BlobErrorCode SnapshotOperationRateExceeded { get { throw null; } }
Expand Down
2 changes: 2 additions & 0 deletions sdk/storage/Azure.Storage.Blobs/src/Models/BlobErrorCode.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using System.ComponentModel;
using Azure.Core;

namespace Azure.Storage.Blobs.Models
Expand All @@ -14,6 +15,7 @@ public partial struct BlobErrorCode
private const string SnaphotOperationRateExceededValue = "SnaphotOperationRateExceeded";

/// <summary> SnaphotOperationRateExceeded. </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public static BlobErrorCode SnaphotOperationRateExceeded { get; } = new BlobErrorCode(SnaphotOperationRateExceededValue);
}
}

0 comments on commit fdc5bbf

Please sign in to comment.