// Token: 0x06002D1F RID: 11551 RVA: 0x000AE27C File Offset: 0x000AC47C private Class150 method_5(Size sz) { if (this.size_0 == sz) { return(this); } if (this.dictionary_0.ContainsKey(sz)) { return(this.dictionary_0[sz]); } Bitmap bitmap = null; Class150 result; lock (this.object_0) { try { bitmap = new Bitmap(sz.Width, sz.Height); this.class125_0.method_5(); using (Graphics graphics = Graphics.FromImage(bitmap)) { graphics.InterpolationMode = InterpolationMode.High; graphics.SmoothingMode = SmoothingMode.AntiAlias; graphics.DrawImage(this.class125_0.BaseBitmap, new Rectangle(Point.Empty, sz)); } Class150 @class = null; try { @class = new Class150(bitmap, true); this.dictionary_0.Add(sz, @class); result = @class; } catch { if (@class != null) { @class.Dispose(); } throw; } } catch { if (bitmap != null) { bitmap.Dispose(); } throw; } finally { this.class125_0.method_4(); } } return(result); }