diff --git a/src/ProtocolBuffers.Test/TestWriterFormatJson.cs b/src/ProtocolBuffers.Test/TestWriterFormatJson.cs index 6b163824cb..a3543afac6 100644 --- a/src/ProtocolBuffers.Test/TestWriterFormatJson.cs +++ b/src/ProtocolBuffers.Test/TestWriterFormatJson.cs @@ -492,7 +492,7 @@ namespace Google.ProtocolBuffers .SetPackage("package") .BuildPartial(); - Assert.IsNotNull(opts.ToJson()); + Assert.IsNotNull(Extensions.ToJson(opts)); } } }