private ScriptNavigatorItem ScriptNavigatorItemFor(MonoScript script, string path)
		{
			var fullPath = System.IO.Path.GetFullPath(path); // get extension
			var fileName = System.IO.Path.GetFileName(fullPath);
			var instanceID = script.GetInstanceID();
			return new ScriptNavigatorItem(fileName, instanceID, FileNavigationService);
		}
 public void MonoScriptIconChanged(MonoScript monoScript)
 {
     if (!(monoScript == null))
     {
         bool flag = true;
         foreach (MonoScript current in this.m_MonoScriptIconsChanged)
         {
             if (current.GetInstanceID() == monoScript.GetInstanceID())
             {
                 flag = false;
             }
         }
         if (flag)
         {
             this.m_MonoScriptIconsChanged.Add(monoScript);
         }
     }
 }
        public void MonoScriptIconChanged(MonoScript monoScript)
        {
            if (monoScript == null)
            {
                return;
            }

            bool add = true;

            foreach (MonoScript m in m_MonoScriptIconsChanged)
            {
                if (m.GetInstanceID() == monoScript.GetInstanceID())
                {
                    add = false;
                }
            }

            if (add)
            {
                m_MonoScriptIconsChanged.Add(monoScript);
            }
        }
        public void MonoScriptIconChanged(MonoScript monoScript)
        {
            if ((UnityEngine.Object)monoScript == (UnityEngine.Object)null)
            {
                return;
            }
            bool flag = true;

            using (List <MonoScript> .Enumerator enumerator = this.m_MonoScriptIconsChanged.GetEnumerator())
            {
                while (enumerator.MoveNext())
                {
                    if (enumerator.Current.GetInstanceID() == monoScript.GetInstanceID())
                    {
                        flag = false;
                    }
                }
            }
            if (!flag)
            {
                return;
            }
            this.m_MonoScriptIconsChanged.Add(monoScript);
        }
		public void MonoScriptIconChanged(MonoScript monoScript)
		{
			if (monoScript == null)
			{
				return;
			}
			bool flag = true;
			foreach (MonoScript current in this.m_MonoScriptIconsChanged)
			{
				if (current.GetInstanceID() == monoScript.GetInstanceID())
				{
					flag = false;
				}
			}
			if (flag)
			{
				this.m_MonoScriptIconsChanged.Add(monoScript);
			}
		}
 public void MonoScriptIconChanged(MonoScript monoScript)
 {
   if ((UnityEngine.Object) monoScript == (UnityEngine.Object) null)
     return;
   bool flag = true;
   using (List<MonoScript>.Enumerator enumerator = this.m_MonoScriptIconsChanged.GetEnumerator())
   {
     while (enumerator.MoveNext())
     {
       if (enumerator.Current.GetInstanceID() == monoScript.GetInstanceID())
         flag = false;
     }
   }
   if (!flag)
     return;
   this.m_MonoScriptIconsChanged.Add(monoScript);
 }
		private static string AssetPathFor(MonoScript script)
		{
			return AssetDatabase.GetAssetPath(script.GetInstanceID());
		}