Showing 1,140 of 1,140 total issues
Avoid too many return
statements within this method. Open
Open
if (TypeCheck.AreEqual<T, string>()) { return (T)(object)text; }
Avoid too many return
statements within this method. Open
Open
if (TypeCheck.AreEqual<T, HttpStatusCode>()) { return (T)(object)self.GetStatusCode(); }
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
if (o != null && o.excludeFromOrderCalc) { return false; }
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return l.Max(x => x.sortingOrder);
Avoid too many return
statements within this method. Open
Open
return currentView.SetActiveV2(false);
Avoid too many return
statements within this method. Open
Open
if (TypeCheck.AreEqual<T, Stream>()) { return (T)(object)new MemoryStream(GetBytesResult(self)); }
Avoid too many return
statements within this method. Open
Open
return (T)(object)Resources.Load(pathInResourcesFolder, typeof(T));
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
else if (obj is Int32) return new BsonValue((Int32)obj);
Avoid too many return
statements within this method. Open
Open
else if (obj is DateTime) return new BsonValue((DateTime)obj);
Avoid too many return
statements within this method. Open
Open
return Convert.ChangeType(value.RawValue, type);
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return new BsonValue(obj.ToString());
Avoid too many return
statements within this method. Open
Open
return this.DeserializeList(type, value.AsArray);
Avoid too many return
statements within this method. Open
Open
return patchArray[0];
Avoid too many return
statements within this method. Open
Open
else if (obj is Int64) return new BsonValue((Int64)obj);
Avoid too many return
statements within this method. Open
Open
if (type == typeof(EmptyPage)) return new EmptyPage(pageID) as T;