-
-
Comparing instances of `ITypeSymbol` using their `IEquatable` interface could be a bug, because of NRT. RS1024 was introduced to discover those possible bugs early, and force the author to be explicit…
-
The [LSP spec](https://microsoft.github.io/language-server-protocol/specifications/specification-3-17/#textDocument_linkedEditingRange) indicates LinkedEditingRange can return either return `LinkedEdi…
-
Example:
```dart
const v = null as Never?;
```
The analyzer reports a compile-time error for this:
> line 3 • Evaluation of this constant expression throws an exception.
Doesn't say which ex…
lrhn updated
8 months ago
-
Hi,
I'm using ObjectReader to allow me to assert behaviour in tests that use an IDataReader. We're using c#8 with non-nullable reference types.
[The detection of nullability](https://github.com/…
-
Wouldn’t it make sense to make non-nullable properties required? When I have a C# propertiy that is non-null and deserialize it without a JSON property for it, I would construct a C# object that viola…
-
**Version Used**:
net5.0 and net6.0 in Visual Studio 2022 as of 2022-04-11.
**Steps to Reproduce**:
```C#
using System;
#nullable enable
namespace BugReportCS8619ushort
{
internal…
-
**Version Used**:
```
Branch master (19 Dec 2020)
Latest commit 80e9227 by msftbot[bot]:
Merge pull request #50073 from dotnet/merges/release/dev16.9-to-master
Merge release/dev16.9 to master
…
-
In earlier designs of nullability, the `enable` setting was pretty useful for the nullability feature.
But now, users can enable nullable warnings with `#nullable enable warnings` instead.
The que…
-
- Remove references to AutoValue, IntDef and StringDef
- Update nullability section with specifics around primitives being `non null` always
- List out the methods generated (including model merging…