Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-2415

error CS0649: Field 'SubDocSingularBase<T>.CurrentSpec' is null

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 3.0.0
    • 3.0.0-beta.4
    • library
    • None
    • 1

    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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jmorris Jeff Morris
            jmorris Jeff Morris
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty