8 questions
9
votes
2
answers
250
views
Nullable warning when upgrading to extension-members syntax
I have two versions of helper methods for logging on ILogger. The first (classic extension methods) compiles fine; the second using extension members results in a compiler warning/error code.
CS8620: ...
0
votes
2
answers
75
views
Defining many-to-many with join table foreign key names without concrete c# domain table (shadow join)
I am trying to link a many-to-many relationship without any intermediary class in my domain.
The link is SoundProfiles <-> Switches. They're both not required. The error I get is
One or more ...
5
votes
1
answer
202
views
.NET 9 -> .NET 10: MongoDB query using array.Contains throws NotSupportedException
After upgrading from .NET 9 to .NET 10, a MongoDB query that used to work now throws a System.NotSupportedException during query execution. I'm looking for pointers whether this is a runtime change in ...
2
votes
0
answers
134
views
user-defined operators in C#14 [closed]
C# 14 is adding user-defined operators
User-defined compound assignment operators like += and -=.
User-defined increment (++) and decrement (--) operators.
https://learn.microsoft.com/en-us/dotnet/...