-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Style checking azure identity #7583
Style checking azure identity #7583
Conversation
You did core changes here too |
27372c5
to
46affad
Compare
I have removed all core related changes. |
|
||
/// <summary> | ||
/// Creates an instance with the specified <see cref="TokenCredential"/> sources. | ||
/// </summary> | ||
/// <param name="sources">The ordered chain of <see cref="TokenCredential"/> implementations to tried when calling <see cref="GetToken"/> or <see cref="GetTokenAsync"/></param> | ||
public ChainedTokenCredential(params TokenCredential[] sources) | ||
{ | ||
if (sources == null) throw new ArgumentNullException(nameof(sources)); | ||
if (sources == null) | ||
throw new ArgumentNullException(nameof(sources)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we bracket these? I'm not a huge fan of having them on a new line without brackets.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This rule csharp_preserve_single_line_statements = false
is responsible for that. I have fixed up the current instances but it will likely happen again when new single line statements are introduced.
46affad
to
396257f
Compare
Enable StyleCop and fix errors
Fix code style to adhere to editorconfig rules