From c4af027d7f13efea7fccfe3bd74bb8d74f7f8423 Mon Sep 17 00:00:00 2001
From: Sean McCullough <44180881+seanmcc-msft@users.noreply.github.com>
Date: Thu, 26 Aug 2021 11:22:21 -0500
Subject: [PATCH] Storage STG 78 GA Arch Board comments #2 (#23571)
---
.../api/Azure.Storage.Files.Shares.netstandard2.0.cs | 2 +-
.../src/Models/ShareDirectoryGetFilesAndDirectoriesOptions.cs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sdk/storage/Azure.Storage.Files.Shares/api/Azure.Storage.Files.Shares.netstandard2.0.cs b/sdk/storage/Azure.Storage.Files.Shares/api/Azure.Storage.Files.Shares.netstandard2.0.cs
index ce811bddb527f..3f3517c1d4a43 100644
--- a/sdk/storage/Azure.Storage.Files.Shares/api/Azure.Storage.Files.Shares.netstandard2.0.cs
+++ b/sdk/storage/Azure.Storage.Files.Shares/api/Azure.Storage.Files.Shares.netstandard2.0.cs
@@ -481,7 +481,7 @@ public partial class ShareDirectoryGetFilesAndDirectoriesOptions
public ShareDirectoryGetFilesAndDirectoriesOptions() { }
public bool? IncludeExtendedInfo { get { throw null; } set { } }
public string Prefix { get { throw null; } set { } }
- public Azure.Storage.Files.Shares.Models.ShareFileTraits? Traits { get { throw null; } set { } }
+ public Azure.Storage.Files.Shares.Models.ShareFileTraits Traits { get { throw null; } set { } }
}
public partial class ShareDirectoryInfo
{
diff --git a/sdk/storage/Azure.Storage.Files.Shares/src/Models/ShareDirectoryGetFilesAndDirectoriesOptions.cs b/sdk/storage/Azure.Storage.Files.Shares/src/Models/ShareDirectoryGetFilesAndDirectoriesOptions.cs
index bed9a9f2486bd..a394fa13f587c 100644
--- a/sdk/storage/Azure.Storage.Files.Shares/src/Models/ShareDirectoryGetFilesAndDirectoriesOptions.cs
+++ b/sdk/storage/Azure.Storage.Files.Shares/src/Models/ShareDirectoryGetFilesAndDirectoriesOptions.cs
@@ -17,7 +17,7 @@ public class ShareDirectoryGetFilesAndDirectoriesOptions
///
/// Optional. Specifies traits to include in the .
///
- public ShareFileTraits? Traits { get; set; }
+ public ShareFileTraits Traits { get; set; } = ShareFileTraits.None;
///
/// Optional. Specified that extended info should be included in the .