-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Upgrade analyzer version to 0.1.1-dev.20230613.1 #37037
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
c5ca5b0
81d6a5d
2a88ad2
e1215ed
bf4450e
0adff3b
c07d7d1
b0bef5e
56d9071
08b896f
90a0baf
4df596e
db0cdb7
eada748
6e97987
20913a8
ced9931
42ebc54
23cd6ba
5a158ef
4a39793
d1754a8
07da049
4b1c9dc
99e18d5
e43eb1d
0b4746d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,7 +10,7 @@ public partial class ChatClient | |
| protected ChatClient() { } | ||
| public ChatClient(System.Uri endpoint, Azure.Communication.CommunicationTokenCredential communicationTokenCredential, Azure.Communication.Chat.ChatClientOptions options = null) { } | ||
| public virtual Azure.Response<Azure.Communication.Chat.CreateChatThreadResult> CreateChatThread(string topic, System.Collections.Generic.IEnumerable<Azure.Communication.Chat.ChatParticipant> participants, string idempotencyToken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } | ||
| public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Communication.Chat.CreateChatThreadResult>> CreateChatThreadAsync(string topic, System.Collections.Generic.IEnumerable<Azure.Communication.Chat.ChatParticipant> participants = null, string idempotencyToken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } | ||
| public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Communication.Chat.CreateChatThreadResult>> CreateChatThreadAsync(string topic, System.Collections.Generic.IEnumerable<Azure.Communication.Chat.ChatParticipant> participants, string idempotencyToken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this a breaking change to a GA library?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it is OK. See #37037 (comment)
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @tg-msft, can you confirm this is an acceptable change?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Given that we're effectively replacing a runtime NullRefEx with a compile time break per https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/communication/Azure.Communication.Chat/src/ChatClient.cs#L59-L95, I think we should take this. +@glorialimicrosoft as an FYI of the change and that we might also want an |
||
| public virtual Azure.Response DeleteChatThread(string threadId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } | ||
| public virtual System.Threading.Tasks.Task<Azure.Response> DeleteChatThreadAsync(string threadId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } | ||
| public virtual Azure.Communication.Chat.ChatThreadClient GetChatThreadClient(string threadId) { throw null; } | ||
|
|
||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -167,7 +167,9 @@ public virtual async Task<Response<AssetConversion>> GetConversionAsync(string c | |
|
|
||
| /// <summary> Gets a list of all conversions.</summary> | ||
| /// <param name="cancellationToken"> The cancellation token to use. </param> | ||
| #pragma warning disable AZC0004 // DO provide both asynchronous and synchronous variants for all service methods. | ||
| public virtual Pageable<AssetConversion> GetConversions(CancellationToken cancellationToken = default) | ||
| #pragma warning restore AZC0004 // DO provide both asynchronous and synchronous variants for all service methods. | ||
| { | ||
| Page<AssetConversion> FirstPageFunc(int? pageSizeHint) | ||
| { | ||
|
|
@@ -204,7 +206,9 @@ Page<AssetConversion> NextPageFunc(string nextLink, int? pageSizeHint) | |
|
|
||
| /// <summary> Gets a list of all conversions.</summary> | ||
| /// <param name="cancellationToken"> The cancellation token to use. </param> | ||
| #pragma warning disable AZC0004 // DO provide both asynchronous and synchronous variants for all service methods. | ||
| public virtual AsyncPageable<AssetConversion> GetConversionsAync(CancellationToken cancellationToken = default) | ||
| #pragma warning restore AZC0004 // DO provide both asynchronous and synchronous variants for all service methods. | ||
| { | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There is a typo here
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you for finding this! It might be helpful to file an issue for this library to let them know - they could introduce a correctly-spelled method and mark the misspelled one with "EditorBrowsableState.Never" |
||
| async Task<Page<AssetConversion>> FirstPageFunc(int? pageSizeHint) | ||
| { | ||
|
|
||
This file was deleted.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.