Skip to content

Consider removing the EqualsOrdinalIgnoreCase extension method (OSOE-915) #296

Closed as not planned
@sarahelsaig

Description

@sarahelsaig

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions