cs-util-com/cscore

View on GitHub

Showing 1,140 of 1,140 total issues

Avoid too many return statements within this method.
Open

            if (TypeCheck.AreEqual<T, string>()) { return (T)(object)text; }

    Avoid too many return statements within this method.
    Open

                if (TypeCheck.AreEqual<T, HttpStatusCode>()) { return (T)(object)self.GetStatusCode(); }

      Avoid too many return statements within this method.
      Open

                      return false;

        Avoid too many return statements within this method.
        Open

                        if (o != null && o.excludeFromOrderCalc) { return false; }
        Severity: Major
        Found in CsCore/CsCoreUnity/Plugins/CsCoreUnity/com/csutil/ui/UiExtensions.cs - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                          return true;
          Severity: Major
          Found in CsCore/CsCoreUnity/Plugins/CsCoreUnity/com/csutil/ui/UiExtensions.cs - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                        return l.Max(x => x.sortingOrder);
            Severity: Major
            Found in CsCore/CsCoreUnity/Plugins/CsCoreUnity/com/csutil/ui/UiExtensions.cs - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                              return currentView.SetActiveV2(false);

                Avoid too many return statements within this method.
                Open

                            if (TypeCheck.AreEqual<T, Stream>()) { return (T)(object)new MemoryStream(GetBytesResult(self)); }

                  Avoid too many return statements within this method.
                  Open

                              return (T)(object)Resources.Load(pathInResourcesFolder, typeof(T));
                  Severity: Major
                  Found in CsCore/CsCoreUnity/Plugins/CsCoreUnity/com/csutil/io/ResourcesV2.cs - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                        return true;

                      Avoid too many return statements within this method.
                      Open

                                      return true;

                        Avoid too many return statements within this method.
                        Open

                                    else if (obj is Int32) return new BsonValue((Int32)obj);

                          Avoid too many return statements within this method.
                          Open

                                      else if (obj is DateTime) return new BsonValue((DateTime)obj);

                            Avoid too many return statements within this method.
                            Open

                                            return Convert.ChangeType(value.RawValue, type);

                              Avoid too many return statements within this method.
                              Open

                                          return null;

                                Avoid too many return statements within this method.
                                Open

                                                return new BsonValue(obj.ToString());

                                  Avoid too many return statements within this method.
                                  Open

                                                      return this.DeserializeList(type, value.AsArray);

                                    Avoid too many return statements within this method.
                                    Open

                                                        return patchArray[0];

                                      Avoid too many return statements within this method.
                                      Open

                                                  else if (obj is Int64) return new BsonValue((Int64)obj);

                                        Avoid too many return statements within this method.
                                        Open

                                                    if (type == typeof(EmptyPage)) return new EmptyPage(pageID) as T;
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language