-
### Background and motivation
The `String.Replace` method contains one overload which receives a `StringComparison`, and another overload which receives a `CultureInfo`. Similar overloads should al…
-
**Input:**
```csharp
namespace SomeLibrary;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Xml.Linq;
using static System…
-
### Is your tweak request related to a problem? Please describe.
Index Of String does not currently allow setting a StringComparison.
### Describe what would you like tweaked
Index Of String …
-
**Product and Version Used**:
Roslynator 2.3.0
Visual Studio 16.4.4
**Steps to Reproduce**:
Consider this Linq code running against a SQL database with a case sensitive collation.
This is…
-
Running the tool via wine works (I can interact with the window) but the elden ring process cannot be found.
Looking through the code I traced the issue back to [this line](https://github.com/Nordgar…
-
Right now the following replacements for string ignore the `StringComparison` argument, maybe others too:
- `IndexOf`
- `StartsWith`
- `EndsWith`
Not entirely related, but because I'm too lazy…
-
Xml/Fact Equals does not consider contextRef. I would not consider these facts duplicates if they do not share context.
`public bool Equals(Fact other)
{
var result = other !=…
-
https://learn.microsoft.com/ja-jp/dotnet/api/system.memoryextensions.equals?view=net-6.0#system-memoryextensions-equals(system-readonlyspan((system-char))-system-readonlyspan((system-char))-system-str…
-
Currently we support the `==` operator and the `String.Equals(String)` methods which both have the same behavior in-memory as `String.Equals(String, StringComparison.Ordinal)`. We could also support t…
-
I want to compare if a specific substring is in a string. The comparison should be case insensitive.
Until EFCore 2.2 i used
`e => e.Name.Contains(searchString, StringComparison.InvariantCultureI…