-
Notifications
You must be signed in to change notification settings - Fork 0
Feature/create first version #1
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
Conversation
| => | ||
| methodSymbol.IsGenericMethod is false && | ||
| methodSymbol.Parameters.Length is 0 && | ||
| string.Equals(methodSymbol.Name, "GetEnumerator"); |
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.
| string.Equals(methodSymbol.Name, "GetEnumerator"); | |
| string.Equals(methodSymbol.Name, "GetEnumerator", StringComparison.InvariantCulture); | |
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.
Fixed
| methodSymbol.IsGenericMethod is false && | ||
| methodSymbol.Parameters.Length is 0 && | ||
| methodSymbol.ReturnType.InnerIsType(SystemNamespace, "Boolean") && | ||
| string.Equals(methodSymbol.Name, "MoveNext"); |
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.
| string.Equals(methodSymbol.Name, "MoveNext"); | |
| string.Equals(methodSymbol.Name, "MoveNext", StringComparison.InvariantCulture); | |
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.
Fixed
|
|
||
| static bool IsJsonPropertyNameAttribute(AttributeData attributeData) | ||
| => | ||
| InnerIsType(attributeData.AttributeClass, "System.Text.Json.Serialization", "JsonPropertyNameAttribute") is true; |
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.
Is there is true for the sake of clarity here?
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.
I don't remember why I used this construction here. Maybe there was a different logic. But now it is not necessary
No description provided.