-
Notifications
You must be signed in to change notification settings - Fork 28
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
Consider removing the EqualsOrdinalIgnoreCase extension method (OSOE-915) #296
Comments
Our extensions are in the So, I'd prefer have ours, or change the namespace in OC. Can you link a few samples where you had this clash? |
I don't commit build errors into git so I can't link samples. I think the most common example is if you are in a service that injects |
I think the solution here is to change the namespace in OC. |
Try to push through an upstream breaking change? 😱 I'll let you fight that windmill if you want. |
It is breaking, but I doubt many would notice :). Nevertheless should be v3. In any case, I don't think we should change HL. |
In get this error in OrchardCore 2.0 too often:
TestApiController.cs(105, 62): [CS0121] The call is ambiguous between the following methods or properties: 'System.StringExtensions.EqualsOrdinalIgnoreCase(string, string?)' and 'OrchardCore.Modules.StringExtensions.EqualsOrdinalIgnoreCase(string?, string?)'
This is because the extension method in OC here.
Jira issue
The text was updated successfully, but these errors were encountered: