Description
Possible null violation triggers a compiler error:
Restore completed in 148.94 ms for C:\Jenkins\workspace\dotnet-sdk\couchbase-net-client-scripted-build-pipeline\couchbase-net-client\Src\Couchbase\Couchbase.csproj.
Core\IO\Operations\SubDocument\SubDocSingularBase.cs(11,33): error CS0649: Field 'SubDocSingularBase<T>.CurrentSpec' is never assigned to, and will always have its default value null [C:\Jenkins\workspace\dotnet-sdk\couchbase-net-client-scripted-build-pipeline\couchbase-net-client\Src\Couchbase\Couchbase.csproj]
Note that class itself is never used because only Multi Sub-Document commands are supported.
Attachments
For Gerrit Dashboard: NCBC-2415 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
123792,5 | NCBC-2415: error CS0649 - Field 'SubDocSingularBase<T>.CurrentSpec' is null | master | couchbase-net-client | Status: MERGED | +2 | +1 |