Skip to content

Commit

Permalink
Small refactorings.
Browse files Browse the repository at this point in the history
  • Loading branch information
Þorgeir committed Apr 10, 2016
1 parent 2945fc9 commit 717ecfa
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
using System.Collections.Generic;
using System.Linq;
using System.CodeDom.Compiler;
using System.Collections;
using Rex.Utilities.Helpers;
using System.Diagnostics;
using UnityEditor;
using Rex.Window;
using System.Reflection;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,9 @@ public static IEnumerable<Syntax> GetSyntaxForValue(object value)

var constVal = value.ToString();
var enumerableItems = "";
if (!RexReflectionUtils.IsOverridingToStirng(type) &&
if (!IsOverridingToStirng(type) &&
value is IEnumerable &&
RexReflectionUtils.ExtractValue(value, out enumerableItems))
ExtractValue(value, out enumerableItems))
{
return RexUtils.GetCSharpRepresentation(type).Concat(new[]
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
using Rex.Utilities.Helpers;
using Microsoft.CSharp;
using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
using System.Text;
using System.Runtime.CompilerServices;
using UnityEngine;
using UnityEditor;

namespace Rex.Utilities
Expand Down

0 comments on commit 717ecfa

Please sign in to comment.