pos/is4c-nf/scale-drivers/drivers/NewMagellan/Newtonsoft.Json/Bson/BsonBinaryWriter.cs
Method WriteTokenInternal
has 114 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void WriteTokenInternal(BsonToken t)
{
switch (t.Type)
{
case BsonType.Object:
Method CalculateSize
has 77 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private int CalculateSize(BsonToken t)
{
switch (t.Type)
{
case BsonType.Object:
File BsonBinaryWriter.cs
has 270 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
using System;
using System.Globalization;
using System.IO;
using System.Text;
using Newtonsoft.Json.Utilities;
Avoid too many return
statements within this method. Open
Open
return value.CalculatedSize;