// Token: 0x0600247F RID: 9343 RVA: 0x00086F20 File Offset: 0x00085120
 public bool Replace(global::ShaderMod.Replacement replacement, string incoming, ref string outgoing)
 {
     if (this.keyValues != null)
     {
         if (replacement != global::ShaderMod.Replacement.Queue)
         {
             for (int i = 0; i < this.keyValues.Length; i++)
             {
                 if (string.Equals(this.keyValues[i].key, incoming, StringComparison.InvariantCultureIgnoreCase))
                 {
                     outgoing = this.keyValues[i].value;
                     return(true);
                 }
             }
         }
         else
         {
             for (int j = 0; j < this.keyValues.Length; j++)
             {
                 if (global::ShaderMod.QueueCompare.Equals(this.keyValues[j].key, incoming))
                 {
                     outgoing = this.keyValues[j].value;
                     return(true);
                 }
             }
         }
     }
     return(false);
 }
 // Token: 0x06002480 RID: 9344 RVA: 0x00086FD8 File Offset: 0x000851D8
 public static int Replace(this global::ShaderMod[] mods, global::ShaderMod.Replacement replacement, string incoming, ref string outgoing)
 {
     if (mods != null)
     {
         int num = mods.Length;
         for (int i = 0; i < num; i++)
         {
             if (mods[i] && mods[i].Replace(replacement, incoming, ref outgoing))
             {
                 return(i);
             }
         }
     }
     return(-1);
 }
    // Token: 0x17000881 RID: 2177
    public global::ShaderMod.DICT this[global::ShaderMod.Replacement replacement]
    {
        get
        {
            switch (replacement)
            {
            case global::ShaderMod.Replacement.Include:
                return(this.replaceIncludes);

            case global::ShaderMod.Replacement.Queue:
                return(this.replaceQueues);

            case global::ShaderMod.Replacement.Define:
                return(this.macroDefines);

            default:
                return(null);
            }
        }
    }
 // Token: 0x06002482 RID: 9346 RVA: 0x00087070 File Offset: 0x00085270
 public static IEnumerable <global::ShaderMod.KV> MergeKeyValues(this global::ShaderMod[] mods, global::ShaderMod.Replacement replacement)
 {
     return(null);
 }
 // Token: 0x06002475 RID: 9333 RVA: 0x00086C28 File Offset: 0x00084E28
 public bool Replace(global::ShaderMod.Replacement replacement, string incoming, ref string outgoing)
 {
     global::ShaderMod.DICT dict = this[replacement];
     return(dict != null && dict.Replace(replacement, incoming, ref outgoing));
 }