-
Windows file paths comparisons are case-insensitive; Unix file path comparisons are case-sensitive. Throughout the code we explicitly compare file paths with `StringComparison.OrdinalIgnoreCase`.
P…
ghost updated
3 years ago
-
In my project I need to implement case insensitive search. In SQL I'd do that with "ILIKE". In C# I would do that with string.Contains(pattern, StringComparison.OrdinalIgnoreCase).
Would it be a wi…
-
If the result of `string.ToUpper` or `string.ToLower` is simply used in a comparison, then that's a pretty good indication that a case-insensitive comparison should be used instead.
```csharp
foo.…
-
```cs
namespace RoslynSandbox
{
using System;
using System.Globalization;
using System.Windows.Data;
public class StringComparisonToBoolConverter : IValueConverter
{
…
-
After upgrade to Marten "7.19.1" we get next error:
Marten.Exceptions.BadLinqExpressionException
Marten does not (yet) support member string.**Trim**
In previous version of Marten next code works…
-
This benchmark regresses by ~25% for me between .NET 8 and .NET 9:
```C#
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;
BenchmarkSwitcher.FromAssembly(typeof(Tests).Assembly).Run(a…
-
The `StartsWith` validations will currently perform the comparisons using the standard .NET value for `StringComparison`, which relies on the current culture for checking the characters.
This has c…
-
I am trying to create a win32app from a intunefile . The intunefile got created from a .exe and not from a MSI . I am getting error while deploying the win32 app .
Here is how I am creating an de…
-
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Product
Strawberry Shake
### Describe the bug
When creating a client, based on a schema with union…
-
I upgraded Moq package from 4.16.1 to 4.20.69
I also use the latest .NET test packages under Visual Studio 2022
The setup for the _mockWebService is:
```c#
protected Mock _mockWebService;
pub…