Skip to content

Commit 85f2cfe

Browse files
Bump MTG version (Azure#50517)
1 parent a049422 commit 85f2cfe

29 files changed

+109
-179
lines changed

eng/Packages.Data.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@
442442

443443
<PropertyGroup>
444444
<TestProxyVersion>1.0.0-dev.20250501.1</TestProxyVersion>
445-
<UnbrandedGeneratorVersion>1.0.0-alpha.20250609.3</UnbrandedGeneratorVersion>
445+
<UnbrandedGeneratorVersion>1.0.0-alpha.20250610.1</UnbrandedGeneratorVersion>
446446
<AzureGeneratorVersion>1.0.0-alpha.20250527.2</AzureGeneratorVersion>
447447
</PropertyGroup>
448448
</Project>

eng/packages/http-client-csharp/generator/Azure.Generator/src/Providers/ClientBuilderExtensionsDefinition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public ClientBuilderExtensionsDefinition(IEnumerable<ClientProvider> clients)
4242
protected override TypeSignatureModifiers BuildDeclarationModifiers() =>
4343
TypeSignatureModifiers.Public | TypeSignatureModifiers.Static | TypeSignatureModifiers.Partial;
4444

45-
protected override FormattableString Description => $"Extension methods to add clients to <see cref=\"{typeof(IAzureClientBuilder<,>)}\"/>.";
45+
protected override FormattableString BuildDescription() => $"Extension methods to add clients to <see cref=\"{typeof(IAzureClientBuilder<,>)}\"/>.";
4646

4747
protected override MethodProvider[] BuildMethods()
4848
{

eng/packages/http-client-csharp/generator/Azure.Generator/test/Providers/CollectionResultDefinitions/TestData/ContinuationTokenTests/ContinuationTokenInBody.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ internal partial class CatClientGetCatsCollectionResult : global::Azure.Pageable
2525
/// <param name="myToken"> myToken description. </param>
2626
/// <param name="context"> The request options, which can override default behaviors of the client pipeline on a per-call basis. </param>
2727
/// <exception cref="global::System.ArgumentNullException"> <paramref name="myToken"/> is null. </exception>
28+
/// <exception cref="global::System.ArgumentException"> <paramref name="myToken"/> is an empty string, and was expected to be non-empty. </exception>
2829
public CatClientGetCatsCollectionResult(global::Samples.CatClient client, string myToken, global::Azure.RequestContext context) : base((context?.CancellationToken ?? default))
2930
{
30-
global::Samples.Argument.AssertNotNull(myToken, nameof(myToken));
31+
global::Samples.Argument.AssertNotNullOrEmpty(myToken, nameof(myToken));
3132

3233
_client = client;
3334
_myToken = myToken;

eng/packages/http-client-csharp/generator/Azure.Generator/test/Providers/CollectionResultDefinitions/TestData/ContinuationTokenTests/ContinuationTokenInBodyAsync.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ internal partial class CatClientGetCatsAsyncCollectionResult : global::Azure.Asy
2626
/// <param name="myToken"> myToken description. </param>
2727
/// <param name="context"> The request options, which can override default behaviors of the client pipeline on a per-call basis. </param>
2828
/// <exception cref="global::System.ArgumentNullException"> <paramref name="myToken"/> is null. </exception>
29+
/// <exception cref="global::System.ArgumentException"> <paramref name="myToken"/> is an empty string, and was expected to be non-empty. </exception>
2930
public CatClientGetCatsAsyncCollectionResult(global::Samples.CatClient client, string myToken, global::Azure.RequestContext context) : base((context?.CancellationToken ?? default))
3031
{
31-
global::Samples.Argument.AssertNotNull(myToken, nameof(myToken));
32+
global::Samples.Argument.AssertNotNullOrEmpty(myToken, nameof(myToken));
3233

3334
_client = client;
3435
_myToken = myToken;

eng/packages/http-client-csharp/generator/Azure.Generator/test/Providers/CollectionResultDefinitions/TestData/ContinuationTokenTests/ContinuationTokenInBodyOfT.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ internal partial class CatClientGetCatsCollectionResultOfT : global::Azure.Pagea
2525
/// <param name="myToken"> myToken description. </param>
2626
/// <param name="context"> The request options, which can override default behaviors of the client pipeline on a per-call basis. </param>
2727
/// <exception cref="global::System.ArgumentNullException"> <paramref name="myToken"/> is null. </exception>
28+
/// <exception cref="global::System.ArgumentException"> <paramref name="myToken"/> is an empty string, and was expected to be non-empty. </exception>
2829
public CatClientGetCatsCollectionResultOfT(global::Samples.CatClient client, string myToken, global::Azure.RequestContext context) : base((context?.CancellationToken ?? default))
2930
{
30-
global::Samples.Argument.AssertNotNull(myToken, nameof(myToken));
31+
global::Samples.Argument.AssertNotNullOrEmpty(myToken, nameof(myToken));
3132

3233
_client = client;
3334
_myToken = myToken;

eng/packages/http-client-csharp/generator/Azure.Generator/test/Providers/CollectionResultDefinitions/TestData/ContinuationTokenTests/ContinuationTokenInBodyOfTAsync.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ internal partial class CatClientGetCatsAsyncCollectionResultOfT : global::Azure.
2626
/// <param name="myToken"> myToken description. </param>
2727
/// <param name="context"> The request options, which can override default behaviors of the client pipeline on a per-call basis. </param>
2828
/// <exception cref="global::System.ArgumentNullException"> <paramref name="myToken"/> is null. </exception>
29+
/// <exception cref="global::System.ArgumentException"> <paramref name="myToken"/> is an empty string, and was expected to be non-empty. </exception>
2930
public CatClientGetCatsAsyncCollectionResultOfT(global::Samples.CatClient client, string myToken, global::Azure.RequestContext context) : base((context?.CancellationToken ?? default))
3031
{
31-
global::Samples.Argument.AssertNotNull(myToken, nameof(myToken));
32+
global::Samples.Argument.AssertNotNullOrEmpty(myToken, nameof(myToken));
3233

3334
_client = client;
3435
_myToken = myToken;

eng/packages/http-client-csharp/generator/Azure.Generator/test/Providers/CollectionResultDefinitions/TestData/ContinuationTokenTests/ContinuationTokenInHeader.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ internal partial class CatClientGetCatsCollectionResult : global::Azure.Pageable
2525
/// <param name="myToken"> myToken description. </param>
2626
/// <param name="context"> The request options, which can override default behaviors of the client pipeline on a per-call basis. </param>
2727
/// <exception cref="global::System.ArgumentNullException"> <paramref name="myToken"/> is null. </exception>
28+
/// <exception cref="global::System.ArgumentException"> <paramref name="myToken"/> is an empty string, and was expected to be non-empty. </exception>
2829
public CatClientGetCatsCollectionResult(global::Samples.CatClient client, string myToken, global::Azure.RequestContext context) : base((context?.CancellationToken ?? default))
2930
{
30-
global::Samples.Argument.AssertNotNull(myToken, nameof(myToken));
31+
global::Samples.Argument.AssertNotNullOrEmpty(myToken, nameof(myToken));
3132

3233
_client = client;
3334
_myToken = myToken;

eng/packages/http-client-csharp/generator/Azure.Generator/test/Providers/CollectionResultDefinitions/TestData/ContinuationTokenTests/ContinuationTokenInHeaderAsync.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ internal partial class CatClientGetCatsAsyncCollectionResult : global::Azure.Asy
2626
/// <param name="myToken"> myToken description. </param>
2727
/// <param name="context"> The request options, which can override default behaviors of the client pipeline on a per-call basis. </param>
2828
/// <exception cref="global::System.ArgumentNullException"> <paramref name="myToken"/> is null. </exception>
29+
/// <exception cref="global::System.ArgumentException"> <paramref name="myToken"/> is an empty string, and was expected to be non-empty. </exception>
2930
public CatClientGetCatsAsyncCollectionResult(global::Samples.CatClient client, string myToken, global::Azure.RequestContext context) : base((context?.CancellationToken ?? default))
3031
{
31-
global::Samples.Argument.AssertNotNull(myToken, nameof(myToken));
32+
global::Samples.Argument.AssertNotNullOrEmpty(myToken, nameof(myToken));
3233

3334
_client = client;
3435
_myToken = myToken;

eng/packages/http-client-csharp/generator/Azure.Generator/test/Providers/CollectionResultDefinitions/TestData/ContinuationTokenTests/ContinuationTokenInHeaderOfT.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ internal partial class CatClientGetCatsCollectionResultOfT : global::Azure.Pagea
2525
/// <param name="myToken"> myToken description. </param>
2626
/// <param name="context"> The request options, which can override default behaviors of the client pipeline on a per-call basis. </param>
2727
/// <exception cref="global::System.ArgumentNullException"> <paramref name="myToken"/> is null. </exception>
28+
/// <exception cref="global::System.ArgumentException"> <paramref name="myToken"/> is an empty string, and was expected to be non-empty. </exception>
2829
public CatClientGetCatsCollectionResultOfT(global::Samples.CatClient client, string myToken, global::Azure.RequestContext context) : base((context?.CancellationToken ?? default))
2930
{
30-
global::Samples.Argument.AssertNotNull(myToken, nameof(myToken));
31+
global::Samples.Argument.AssertNotNullOrEmpty(myToken, nameof(myToken));
3132

3233
_client = client;
3334
_myToken = myToken;

eng/packages/http-client-csharp/generator/Azure.Generator/test/Providers/CollectionResultDefinitions/TestData/ContinuationTokenTests/ContinuationTokenInHeaderOfTAsync.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ internal partial class CatClientGetCatsAsyncCollectionResultOfT : global::Azure.
2626
/// <param name="myToken"> myToken description. </param>
2727
/// <param name="context"> The request options, which can override default behaviors of the client pipeline on a per-call basis. </param>
2828
/// <exception cref="global::System.ArgumentNullException"> <paramref name="myToken"/> is null. </exception>
29+
/// <exception cref="global::System.ArgumentException"> <paramref name="myToken"/> is an empty string, and was expected to be non-empty. </exception>
2930
public CatClientGetCatsAsyncCollectionResultOfT(global::Samples.CatClient client, string myToken, global::Azure.RequestContext context) : base((context?.CancellationToken ?? default))
3031
{
31-
global::Samples.Argument.AssertNotNull(myToken, nameof(myToken));
32+
global::Samples.Argument.AssertNotNullOrEmpty(myToken, nameof(myToken));
3233

3334
_client = client;
3435
_myToken = myToken;

0 commit comments

Comments
 (0)