using System; namespace Hjg.Pngcs.Chunks { // Token: 0x0200000A RID: 10 internal class ChunkPredicateId2 : ChunkPredicate { // Token: 0x0600003C RID: 60 RVA: 0x00002AF4 File Offset: 0x00000CF4 public ChunkPredicateId2(string id, string inner) { this.id = id; this.innerid = inner; } // Token: 0x0600003D RID: 61 RVA: 0x00002B0C File Offset: 0x00000D0C public bool Matches(PngChunk c) { return c.Id.Equals(this.id) && (!(c is PngChunkTextVar) || ((PngChunkTextVar)c).GetKey().Equals(this.innerid)) && (!(c is PngChunkSPLT) || ((PngChunkSPLT)c).PalName.Equals(this.innerid)); } // Token: 0x04000035 RID: 53 private readonly string id; // Token: 0x04000036 RID: 54 private readonly string innerid; } }