diff --git a/eng/Directory.Build.Data.props b/eng/Directory.Build.Data.props index 1ef1a2ac13863..3f11af10192f2 100644 --- a/eng/Directory.Build.Data.props +++ b/eng/Directory.Build.Data.props @@ -52,6 +52,7 @@ $(AZURE_DEV_UPDATESOURCESONBUILD) pwsh cobertura + true @@ -68,6 +69,12 @@ + + + $(NoWarn);IDT001 + + + $(RepoEngPath)\CodeAnalysis.ruleset diff --git a/eng/Directory.Build.Data.targets b/eng/Directory.Build.Data.targets index 60c77a97f474a..315dcc2931218 100644 --- a/eng/Directory.Build.Data.targets +++ b/eng/Directory.Build.Data.targets @@ -200,6 +200,18 @@ + + + + + + + + + + + + $(MSBuildThisFileDirectory)ApiListing.exclude-attributes.txt diff --git a/eng/Packages.Data.props b/eng/Packages.Data.props index 7cfaef09ef1b9..2a7bf2ae527c7 100644 --- a/eng/Packages.Data.props +++ b/eng/Packages.Data.props @@ -196,4 +196,13 @@ + + + + + + + + + diff --git a/sdk/keyvault/Azure.Security.KeyVault.Administration/src/KeyVaultPermission.cs b/sdk/keyvault/Azure.Security.KeyVault.Administration/src/KeyVaultPermission.cs index e552e8939a2db..52efe0459c1ec 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Administration/src/KeyVaultPermission.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Administration/src/KeyVaultPermission.cs @@ -6,7 +6,7 @@ namespace Azure.Security.KeyVault.Administration { - /// + /// Role definition permissions. [CodeGenModel("Permission", Usage = new[] { "input", "output" })] public partial class KeyVaultPermission { diff --git a/sdk/keyvault/Azure.Security.KeyVault.Administration/src/KeyVaultRoleAssignment.cs b/sdk/keyvault/Azure.Security.KeyVault.Administration/src/KeyVaultRoleAssignment.cs index fc22bc34ca04d..0a9aeaf568d88 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Administration/src/KeyVaultRoleAssignment.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Administration/src/KeyVaultRoleAssignment.cs @@ -5,7 +5,7 @@ namespace Azure.Security.KeyVault.Administration { - /// > + /// Role Assignments. [CodeGenModel("RoleAssignment")] public partial class KeyVaultRoleAssignment { diff --git a/sdk/keyvault/Azure.Security.KeyVault.Administration/src/KeyVaultRoleAssignmentProperties.cs b/sdk/keyvault/Azure.Security.KeyVault.Administration/src/KeyVaultRoleAssignmentProperties.cs index f652c2e541582..dcfe1ca158aaa 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Administration/src/KeyVaultRoleAssignmentProperties.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Administration/src/KeyVaultRoleAssignmentProperties.cs @@ -5,7 +5,7 @@ namespace Azure.Security.KeyVault.Administration { - /// > + /// [CodeGenModel("RoleAssignmentProperties")] internal partial class KeyVaultRoleAssignmentProperties { } diff --git a/sdk/keyvault/Azure.Security.KeyVault.Administration/src/KeyVaultRoleAssignmentPropertiesWithScope.cs b/sdk/keyvault/Azure.Security.KeyVault.Administration/src/KeyVaultRoleAssignmentPropertiesWithScope.cs index 5bbc289495399..1cba7478ebd7b 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Administration/src/KeyVaultRoleAssignmentPropertiesWithScope.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Administration/src/KeyVaultRoleAssignmentPropertiesWithScope.cs @@ -5,7 +5,7 @@ namespace Azure.Security.KeyVault.Administration { - /// > + /// Role assignment properties with scope. [CodeGenModel("RoleAssignmentPropertiesWithScope")] public partial class KeyVaultRoleAssignmentPropertiesWithScope { } diff --git a/sdk/keyvault/Azure.Security.KeyVault.Administration/src/KeyVaultRoleDefinition.cs b/sdk/keyvault/Azure.Security.KeyVault.Administration/src/KeyVaultRoleDefinition.cs index 008a63504e7b5..1263f18db38c3 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Administration/src/KeyVaultRoleDefinition.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Administration/src/KeyVaultRoleDefinition.cs @@ -5,7 +5,7 @@ namespace Azure.Security.KeyVault.Administration { - /// + /// A Key Vault role definition. [CodeGenModel("RoleDefinition", Usage = new[]{"input", "output"})] public partial class KeyVaultRoleDefinition { } diff --git a/sdk/tables/Azure.Data.Tables/src/TableEntity.Dictionary.cs b/sdk/tables/Azure.Data.Tables/src/TableEntity.Dictionary.cs index 36b6109e7652f..3fe85d0ab77d1 100644 --- a/sdk/tables/Azure.Data.Tables/src/TableEntity.Dictionary.cs +++ b/sdk/tables/Azure.Data.Tables/src/TableEntity.Dictionary.cs @@ -26,13 +26,13 @@ public object this[string key] /// public ICollection Keys => _properties.Keys; - /// + /// ICollection IDictionary.Values => _properties.Values; /// public int Count => _properties.Count; - /// + /// bool ICollection>.IsReadOnly => _properties.IsReadOnly; /// @@ -47,19 +47,19 @@ public object this[string key] /// public bool TryGetValue(string key, out object value) => _properties.TryGetValue(key, out value); - /// + /// void ICollection>.Add(KeyValuePair item) => SetValue(item.Key, item.Value); /// - public void Clear()=> _properties.Clear(); + public void Clear() => _properties.Clear(); - /// + /// bool ICollection>.Contains(KeyValuePair item) => _properties.Contains(item); - /// + /// void ICollection>.CopyTo(KeyValuePair[] array, int arrayIndex) => _properties.CopyTo(array, arrayIndex); - /// + /// bool ICollection>.Remove(KeyValuePair item) => _properties.Remove(item); ///