diff --git a/src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/AZC0001Tests.cs b/src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/AZC0001Tests.cs index 1ecfdf2c12b..e554329fd13 100644 --- a/src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/AZC0001Tests.cs +++ b/src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/AZC0001Tests.cs @@ -20,7 +20,7 @@ public class Program { } var diagnostic = Verifier.Diagnostic("AZC0001") .WithMessage("Namespace 'RandomNamespace' shouldn't contain public types. Use one of the following pre-approved namespace groups (https://azure.github.io/azure-sdk/registered_namespaces.html):" + - " Azure.AI, Azure.Analytics, Azure.Communication, Azure.Core.Expressions, Azure.Data, Azure.DigitalTwins, Azure.Identity, Azure.IoT, Azure.Learn, Azure.Management, Azure.Media, Azure.Messaging, Azure.Monitor, Azure.ResourceManager, Azure.Search, Azure.Security, Azure.Storage, Azure.Template, Microsoft.Extensions.Azure") + " Azure.AI, Azure.Analytics, Azure.Communication, Azure.Containers, Azure.Core.Expressions, Azure.Data, Azure.DigitalTwins, Azure.Identity, Azure.IoT, Azure.Learn, Azure.Management, Azure.Media, Azure.Messaging, Azure.MixedReality, Azure.Monitor, Azure.ResourceManager, Azure.Search, Azure.Security, Azure.Storage, Azure.Template, Microsoft.Extensions.Azure") .WithSpan(2, 11, 2, 26); await Verifier.VerifyAnalyzerAsync(code, diagnostic); diff --git a/src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers/ClientAssemblyNamespaceAnalyzer.cs b/src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers/ClientAssemblyNamespaceAnalyzer.cs index b2ee46524d3..72f1f0fb42a 100644 --- a/src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers/ClientAssemblyNamespaceAnalyzer.cs +++ b/src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers/ClientAssemblyNamespaceAnalyzer.cs @@ -15,6 +15,7 @@ public class ClientAssemblyNamespaceAnalyzer : SymbolAnalyzerBase "Azure.AI", "Azure.Analytics", "Azure.Communication", + "Azure.Containers", "Azure.Core.Expressions", "Azure.Data", "Azure.DigitalTwins", @@ -24,6 +25,7 @@ public class ClientAssemblyNamespaceAnalyzer : SymbolAnalyzerBase "Azure.Management", "Azure.Media", "Azure.Messaging", + "Azure.MixedReality", "Azure.Monitor", "Azure.ResourceManager", "Azure.Search",