Found a 75 line (649 tokens) duplication in the following files: 
Starting at line 59 of KeePass-2.56-Source/KeePass/Forms/EcasActionForm.Designer.cs
Starting at line 59 of KeePass-2.56-Source/KeePass/Forms/EcasEventForm.Designer.cs

		this.m_lblAction.Text = "&Action:";
			// 
			// m_btnOK
			// 
			this.m_btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
			this.m_btnOK.Location = new System.Drawing.Point(366, 289);
			this.m_btnOK.Name = "m_btnOK";
			this.m_btnOK.Size = new System.Drawing.Size(75, 23);
			this.m_btnOK.TabIndex = 6;
			this.m_btnOK.Text = "OK";
			this.m_btnOK.UseVisualStyleBackColor = true;
			this.m_btnOK.Click += new System.EventHandler(this.OnBtnOK);
			// 
			// m_btnCancel
			// 
			this.m_btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			this.m_btnCancel.Location = new System.Drawing.Point(447, 289);
			this.m_btnCancel.Name = "m_btnCancel";
			this.m_btnCancel.Size = new System.Drawing.Size(75, 23);
			this.m_btnCancel.TabIndex = 7;
			this.m_btnCancel.Text = "Cancel";
			this.m_btnCancel.UseVisualStyleBackColor = true;
			this.m_btnCancel.Click += new System.EventHandler(this.OnBtnCancel);
			// 
			// m_dgvParams
			// 
			this.m_dgvParams.AllowUserToAddRows = false;
			this.m_dgvParams.AllowUserToDeleteRows = false;
			this.m_dgvParams.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			this.m_dgvParams.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
			this.m_dgvParams.Location = new System.Drawing.Point(12, 57);
			this.m_dgvParams.Name = "m_dgvParams";
			this.m_dgvParams.Size = new System.Drawing.Size(510, 180);
			this.m_dgvParams.TabIndex = 2;
			// 
			// m_lblParamHint
			// 
			this.m_lblParamHint.Location = new System.Drawing.Point(9, 249);
			this.m_lblParamHint.Name = "m_lblParamHint";
			this.m_lblParamHint.Size = new System.Drawing.Size(513, 15);
			this.m_lblParamHint.TabIndex = 3;
			this.m_lblParamHint.Text = "<>";
			// 
			// m_lblSep
			// 
			this.m_lblSep.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			this.m_lblSep.Location = new System.Drawing.Point(0, 280);
			this.m_lblSep.Name = "m_lblSep";
			this.m_lblSep.Size = new System.Drawing.Size(535, 2);
			this.m_lblSep.TabIndex = 4;
			// 
			// m_btnHelp
			// 
			this.m_btnHelp.Location = new System.Drawing.Point(12, 289);
			this.m_btnHelp.Name = "m_btnHelp";
			this.m_btnHelp.Size = new System.Drawing.Size(75, 23);
			this.m_btnHelp.TabIndex = 5;
			this.m_btnHelp.Text = "&Help";
			this.m_btnHelp.UseVisualStyleBackColor = true;
			this.m_btnHelp.Click += new System.EventHandler(this.OnBtnHelp);
			// 
			// EcasActionForm
			// 
			this.AcceptButton = this.m_btnOK;
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.CancelButton = this.m_btnCancel;
			this.ClientSize = new System.Drawing.Size(534, 324);
			this.Controls.Add(this.m_btnHelp);
			this.Controls.Add(this.m_lblSep);
			this.Controls.Add(this.m_lblParamHint);
			this.Controls.Add(this.m_dgvParams);
			this.Controls.Add(this.m_btnCancel);
			this.Controls.Add(this.m_btnOK);
			this.Controls.Add(this.m_lblAction);
	
=====================================================================
Found a 90 line (218 tokens) duplication in the following files: 
Starting at line 74 of KeePass-2.56-Source/KeePass/UI/ToolStripRendering/Win10Tsr.cs
Starting at line 74 of KeePass-2.56-Source/KeePass/UI/ToolStripRendering/Win81Tsr.cs

		private readonly Color m_clrSubItemSelBorder = Color.FromArgb(145, 201, 247);

			public override Color ButtonCheckedGradientBegin
			{
				get { return m_clrItemActiveBack; }
			}

			public override Color ButtonCheckedGradientEnd
			{
				get { return m_clrItemActiveBack; }
			}

			public override Color ButtonCheckedGradientMiddle
			{
				get { return m_clrItemActiveBack; }
			}

			public override Color ButtonCheckedHighlight
			{
				get { return m_clrItemActiveBack; } // Untested
			}

			public override Color ButtonCheckedHighlightBorder
			{
				get { return m_clrItemActiveBorder; } // Untested
			}

			public override Color ButtonPressedBorder
			{
				get { return m_clrItemActiveBorder; }
			}

			public override Color ButtonPressedGradientBegin
			{
				get { return m_clrItemActiveBack; }
			}

			public override Color ButtonPressedGradientEnd
			{
				get { return m_clrItemActiveBack; }
			}

			public override Color ButtonPressedGradientMiddle
			{
				get { return m_clrItemActiveBack; }
			}

			public override Color ButtonPressedHighlight
			{
				get { return m_clrItemActiveBack; } // Untested
			}

			public override Color ButtonPressedHighlightBorder
			{
				get { return m_clrItemActiveBorder; } // Untested
			}

			public override Color ButtonSelectedBorder
			{
				get { return m_clrItemSelBorder; }
			}

			public override Color ButtonSelectedGradientBegin
			{
				get { return m_clrItemSelBack; }
			}

			public override Color ButtonSelectedGradientEnd
			{
				get { return m_clrItemSelBack; }
			}

			public override Color ButtonSelectedGradientMiddle
			{
				get { return m_clrItemSelBack; }
			}

			public override Color ButtonSelectedHighlight
			{
				get { return m_clrItemSelBack; } // Untested
			}

			public override Color ButtonSelectedHighlightBorder
			{
				get { return m_clrItemSelBorder; }
			}

			public override Color CheckBackground
			{
				get { return Color.FromArgb(144, 200, 246); }
	
=====================================================================
Found a 90 line (213 tokens) duplication in the following files: 
Starting at line 95 of KeePass-2.56-Source/KeePass/UI/ToolStripRendering/SystemTsr.cs
Starting at line 74 of KeePass-2.56-Source/KeePass/UI/ToolStripRendering/Win10Tsr.cs
Starting at line 74 of KeePass-2.56-Source/KeePass/UI/ToolStripRendering/Win81Tsr.cs

		private readonly Color m_clrSubItemSelBorder = SystemColors.MenuHighlight;

			public override Color ButtonCheckedGradientBegin
			{
				get { return m_clrItemActiveBack; }
			}

			public override Color ButtonCheckedGradientEnd
			{
				get { return m_clrItemActiveBack; }
			}

			public override Color ButtonCheckedGradientMiddle
			{
				get { return m_clrItemActiveBack; }
			}

			public override Color ButtonCheckedHighlight
			{
				get { return m_clrItemActiveBack; } // Untested
			}

			public override Color ButtonCheckedHighlightBorder
			{
				get { return m_clrItemActiveBorder; } // Untested
			}

			public override Color ButtonPressedBorder
			{
				get { return m_clrItemActiveBorder; }
			}

			public override Color ButtonPressedGradientBegin
			{
				get { return m_clrItemActiveBack; }
			}

			public override Color ButtonPressedGradientEnd
			{
				get { return m_clrItemActiveBack; }
			}

			public override Color ButtonPressedGradientMiddle
			{
				get { return m_clrItemActiveBack; }
			}

			public override Color ButtonPressedHighlight
			{
				get { return m_clrItemActiveBack; } // Untested
			}

			public override Color ButtonPressedHighlightBorder
			{
				get { return m_clrItemActiveBorder; } // Untested
			}

			public override Color ButtonSelectedBorder
			{
				get { return m_clrItemSelBorder; }
			}

			public override Color ButtonSelectedGradientBegin
			{
				get { return m_clrItemSelBack; }
			}

			public override Color ButtonSelectedGradientEnd
			{
				get { return m_clrItemSelBack; }
			}

			public override Color ButtonSelectedGradientMiddle
			{
				get { return m_clrItemSelBack; }
			}

			public override Color ButtonSelectedHighlight
			{
				get { return m_clrItemSelBack; } // Untested
			}

			public override Color ButtonSelectedHighlightBorder
			{
				get { return m_clrItemSelBorder; }
			}

			public override Color CheckBackground
			{
				get { return m_clrMenuBack; }
	
=====================================================================
Found a 81 line (211 tokens) duplication in the following files: 
Starting at line 218 of KeePass-2.56-Source/KeePass/UI/ToolStripRendering/Win10Tsr.cs
Starting at line 218 of KeePass-2.56-Source/KeePass/UI/ToolStripRendering/Win81Tsr.cs

			get { return Color.FromArgb(204, 204, 204); }
			}

			public override Color MenuItemBorder
			{
				get { return m_clrSubItemSelBorder; }
			}

			public override Color MenuItemSelected
			{
				get { return m_clrSubItemSelBack; }
			}

			public override Color MenuItemPressedGradientBegin
			{
				// Used by pressed root menu items and inactive drop-down
				// arrow buttons in toolbar comboboxes (?!)
				get { return m_clrItemActiveBack; }
			}

			public override Color MenuItemPressedGradientEnd
			{
				get { return m_clrItemActiveBack; }
			}

			public override Color MenuItemPressedGradientMiddle
			{
				get { return m_clrItemActiveBack; }
			}

			public override Color MenuItemSelectedGradientBegin
			{
				get { return m_clrItemSelBack; }
			}

			public override Color MenuItemSelectedGradientEnd
			{
				get { return m_clrItemSelBack; }
			}

			public override Color MenuStripGradientBegin
			{
				get { return m_clrBarBack; }
			}

			public override Color MenuStripGradientEnd
			{
				get { return m_clrBarBack; }
			}

			public override Color OverflowButtonGradientBegin
			{
				get { return Color.FromArgb(245, 245, 245); }
			}

			public override Color OverflowButtonGradientEnd
			{
				get { return Color.FromArgb(229, 229, 229); }
			}

			public override Color OverflowButtonGradientMiddle
			{
				get { return Color.FromArgb(237, 237, 237); }
			}

			public override Color RaftingContainerGradientBegin
			{
				get { return m_clrMenuBack; } // Untested
			}

			public override Color RaftingContainerGradientEnd
			{
				get { return m_clrMenuBack; } // Untested
			}

			public override Color SeparatorDark
			{
				// Menu separators are (215, 215, 215),
				// toolbar separators are (140, 140, 140);
				// SeparatorDark is used for both the menu and the toolbar
				get { return Color.FromArgb(177, 177, 177); }
	
=====================================================================
Found a 31 line (187 tokens) duplication in the following files: 
Starting at line 55 of KeePass-2.56-Source/KeePass/DataExchange/Formats/PwAgentXml2.cs
Starting at line 65 of KeePass-2.56-Source/KeePass/DataExchange/Formats/PwTresorXml100.cs

			Debug.Assert(xmlRoot.Name == "data");

			foreach(XmlNode xmlChild in xmlRoot.ChildNodes)
			{
				if(xmlChild.Name == ElemGroup)
					ReadGroup(xmlChild, pwStorage.RootGroup, pwStorage);
				else { Debug.Assert(false); }
			}
		}

		private static void ReadGroup(XmlNode xmlNode, PwGroup pgParent, PwDatabase pwStorage)
		{
			PwGroup pg = new PwGroup(true, true);
			pgParent.AddGroup(pg, true);

			foreach(XmlNode xmlChild in xmlNode)
			{
				if(xmlChild.Name == ElemGroupName)
					pg.Name = XmlUtil.SafeInnerText(xmlChild);
				else if(xmlChild.Name == ElemGroup)
					ReadGroup(xmlChild, pg, pwStorage);
				else if(xmlChild.Name == ElemEntry)
					ReadEntry(xmlChild, pg, pwStorage);
				else { Debug.Assert(false); }
			}
		}

		private static void ReadEntry(XmlNode xmlNode, PwGroup pgParent, PwDatabase pwStorage)
		{
			PwEntry pe = new PwEntry(true, true);
			pgParent.AddEntry(pe, true);

=====================================================================
Found a 38 line (180 tokens) duplication in the following files: 
Starting at line 100 of KeePass-2.56-Source/KeePassLib/Cryptography/Cipher/ChaCha20Cipher.cs
Starting at line 65 of KeePass-2.56-Source/KeePassLib/Cryptography/Cipher/Salsa20Cipher.cs

		m_bLargeCounter = bLargeCounter;
		}

		protected override void Dispose(bool bDisposing)
		{
			if(bDisposing)
			{
				MemUtil.ZeroArray<uint>(m_s);
				MemUtil.ZeroArray<uint>(m_x);
			}

			base.Dispose(bDisposing);
		}

		protected override void NextBlock(byte[] pbBlock)
		{
			if(pbBlock == null) throw new ArgumentNullException("pbBlock");
			if(pbBlock.Length != 64) throw new ArgumentOutOfRangeException("pbBlock");

			// x is a local alias for the working buffer; with this,
			// the compiler/runtime might remove some checks
			uint[] x = m_x;
			if(x == null) throw new InvalidOperationException();
			if(x.Length < 16) throw new InvalidOperationException();

			uint[] s = m_s;
			if(s == null) throw new InvalidOperationException();
			if(s.Length < 16) throw new InvalidOperationException();

			Array.Copy(s, x, 16);

			unchecked
			{
				// 10 * 8 quarter rounds = 20 rounds
				for(int i = 0; i < 10; ++i)
				{
					// Column quarter rounds
					x[ 0] += x[ 4];
	
=====================================================================
Found a 35 line (178 tokens) duplication in the following files: 
Starting at line 3415 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3494 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs

			KeePass.Ecas.EcasEvent o = new KeePass.Ecas.EcasEvent();

			if(SkipEmptyElement(xr)) return o;

			Debug.Assert(xr.NodeType == XmlNodeType.Element);
			xr.ReadStartElement();
			xr.MoveToContent();

			while(true)
			{
				XmlNodeType nt = xr.NodeType;
				if((nt == XmlNodeType.EndElement) || (nt == XmlNodeType.None)) break;
				if(nt != XmlNodeType.Element) { Debug.Assert(false); xr.Skip(); continue; }

				switch(xr.LocalName)
				{
					case "TypeGuid":
						o.TypeString = ReadString(xr);
						break;
					case "Parameters":
						o.Parameters = ReadListOfString(xr);
						break;
					default:
						Debug.Assert(false);
						xr.Skip();
						break;
				}

				xr.MoveToContent();
			}

			Debug.Assert(xr.NodeType == XmlNodeType.EndElement);
			xr.ReadEndElement();
			return o;
		}

=====================================================================
Found a 19 line (175 tokens) duplication in the following files: 
Starting at line 146 of KeePass-2.56-Source/KeePass/DataExchange/Formats/KeePassXXml041.cs
Starting at line 120 of KeePass-2.56-Source/KeePass/DataExchange/Formats/KeePassXml1x.cs

			if(xmlChild.Name == ElemTitle)
					pe.Strings.Set(PwDefs.TitleField, new ProtectedString(
						pwStorage.MemoryProtection.ProtectTitle,
						XmlUtil.SafeInnerText(xmlChild)));
				else if(xmlChild.Name == ElemUserName)
					pe.Strings.Set(PwDefs.UserNameField, new ProtectedString(
						pwStorage.MemoryProtection.ProtectUserName,
						XmlUtil.SafeInnerText(xmlChild)));
				else if(xmlChild.Name == ElemUrl)
					pe.Strings.Set(PwDefs.UrlField, new ProtectedString(
						pwStorage.MemoryProtection.ProtectUrl,
						XmlUtil.SafeInnerText(xmlChild)));
				else if(xmlChild.Name == ElemPassword)
					pe.Strings.Set(PwDefs.PasswordField, new ProtectedString(
						pwStorage.MemoryProtection.ProtectPassword,
						XmlUtil.SafeInnerText(xmlChild)));
				else if(xmlChild.Name == ElemNotes)
					pe.Strings.Set(PwDefs.NotesField, new ProtectedString(
						pwStorage.MemoryProtection.ProtectNotes,
	
=====================================================================
Found a 29 line (174 tokens) duplication in the following files: 
Starting at line 907 of KeePass-2.56-Source/KeePass/Util/EntryUtil.cs
Starting at line 1045 of KeePass-2.56-Source/KeePass/Util/EntryUtil.cs

					pg.AddEntry(pe, false, false);

					string strGroup = string.Empty;
					if(pe.ParentGroup != null)
						strGroup = pe.ParentGroup.GetFullPath(true, false);

					ListViewItem lvi = new ListViewItem(pe.Strings.ReadSafe(
						PwDefs.TitleField));
					lvi.SubItems.Add(pe.Strings.ReadSafe(PwDefs.UserNameField));
					lvi.SubItems.Add(string.Empty); // Set below
					lvi.SubItems.Add(strGroup);

					lvi.ImageIndex = UIUtil.GetEntryIconIndex(pd, pe, dtNow);
					lvi.Tag = pe;

					LvfItem lvfi = new LvfItem(lvi);

					LvfSubItem siP = lvfi.SubItems[2];
					siP.SetText(pe.Strings.GetSafe(PwDefs.PasswordField));
					siP.Flags |= LvfiFlags.Sensitive;

					lResults.Add(lvfi);
				}
			}

			return lResults;
		}

		private static List<List<PwEntry>> FindDuplicatePasswordsEx(PwDatabase pd,

=====================================================================
Found a 34 line (172 tokens) duplication in the following files: 
Starting at line 1513 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1548 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs

			KeePass.App.Configuration.AceToolBar o = new KeePass.App.Configuration.AceToolBar();

			if(SkipEmptyElement(xr)) return o;

			Debug.Assert(xr.NodeType == XmlNodeType.Element);
			xr.ReadStartElement();
			xr.MoveToContent();

			while(true)
			{
				XmlNodeType nt = xr.NodeType;
				if((nt == XmlNodeType.EndElement) || (nt == XmlNodeType.None)) break;
				if(nt != XmlNodeType.Element) { Debug.Assert(false); xr.Skip(); continue; }

				switch(xr.LocalName)
				{
					case "Show":
						o.Show = ReadBoolean(xr);
						break;
					default:
						Debug.Assert(false);
						xr.Skip();
						break;
				}

				xr.MoveToContent();
			}

			Debug.Assert(xr.NodeType == XmlNodeType.EndElement);
			xr.ReadEndElement();
			return o;
		}

		private static KeePass.App.Configuration.AceEntryView ReadAceEntryView(XmlReader xr)

=====================================================================
Found a 32 line (157 tokens) duplication in the following files: 
Starting at line 11 of KeePass-2.56-Source/KeePass/Properties/Resources.Designer.cs
Starting at line 11 of KeePass-2.56-Source/Translation/TrlUtil/Properties/Resources.Designer.cs

amespace KeePass.Properties {
    using System;
    
    
    /// <summary>
    ///   A strongly-typed resource class, for looking up localized strings, etc.
    /// </summary>
    // This class was auto-generated by the StronglyTypedResourceBuilder
    // class via a tool like ResGen or Visual Studio.
    // To add or remove a member, edit your .ResX file then rerun ResGen
    // with the /str option, or rebuild your VS project.
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    internal class Resources {
        
        private static global::System.Resources.ResourceManager resourceMan;
        
        private static global::System.Globalization.CultureInfo resourceCulture;
        
        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
        internal Resources() {
        }
        
        /// <summary>
        ///   Returns the cached ResourceManager instance used by this class.
        /// </summary>
        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        internal static global::System.Resources.ResourceManager ResourceManager {
            get {
                if (object.ReferenceEquals(resourceMan, null)) {
                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("KeePass.Properties.Resources", typeof(Resources).Assembly);
 
=====================================================================
Found a 38 line (151 tokens) duplication in the following files: 
Starting at line 64 of KeePass-2.56-Source/KeePass/DataExchange/Formats/PassKeeper12.cs
Starting at line 62 of KeePass-2.56-Source/KeePass/DataExchange/Formats/SteganosUI2007.cs

				AppDefs.HelpTopics.ImportExportPassKeeper);
				return;
			}

			PwEntry pePrev = new PwEntry(true, true);

			for(int i = 0; i < 20; ++i)
			{
				Thread.Sleep(500);
				Application.DoEvents();
			}

			try
			{
				while(true)
				{
					PwEntry pe = ImportEntry(pwStorage);

					if(ImportUtil.EntryEquals(pe, pePrev))
					{
						if(pe.ParentGroup != null) // Remove duplicate
							pe.ParentGroup.Entries.Remove(pe);
						break;
					}

					ImportUtil.GuiSendKeysPrc(@"{DOWN}");
					pePrev = pe;
				}

				MessageService.ShowInfo(KPRes.ImportFinished);
			}
			catch(Exception exImp) { MessageService.ShowWarning(exImp); }
		}

		private static PwEntry ImportEntry(PwDatabase pwDb)
		{
			ImportUtil.GuiSendWaitWindowChange(@"{ENTER}");
			Thread.Sleep(250);
	
=====================================================================
Found a 18 line (151 tokens) duplication in the following files: 
Starting at line 96 of KeePass-2.56-Source/KeePass/DataExchange/Formats/PwAgentXml2.cs
Starting at line 102 of KeePass-2.56-Source/KeePass/DataExchange/Formats/PwTresorXml100.cs

						PwIcon.Key : PwIcon.PaperNew);
				else if(xmlChild.Name == ElemEntryUser)
					pe.Strings.Set(PwDefs.UserNameField, new ProtectedString(
						pwStorage.MemoryProtection.ProtectUserName,
						XmlUtil.SafeInnerText(xmlChild)));
				else if(xmlChild.Name == ElemEntryPassword)
					pe.Strings.Set(PwDefs.PasswordField, new ProtectedString(
						pwStorage.MemoryProtection.ProtectPassword,
						XmlUtil.SafeInnerText(xmlChild)));
				else if(xmlChild.Name == ElemEntryURL)
					pe.Strings.Set(PwDefs.UrlField, new ProtectedString(
						pwStorage.MemoryProtection.ProtectUrl,
						XmlUtil.SafeInnerText(xmlChild)));
				else if(xmlChild.Name == ElemEntryNotes)
					pe.Strings.Set(PwDefs.NotesField, new ProtectedString(
						pwStorage.MemoryProtection.ProtectNotes,
						XmlUtil.SafeInnerText(xmlChild)));
				else if(xmlChild.Name == ElemEntryCreationTime)

=====================================================================
Found a 63 line (148 tokens) duplication in the following files: 
Starting at line 317 of KeePass-2.56-Source/KeePass/UI/ToolStripRendering/SystemTsr.cs
Starting at line 298 of KeePass-2.56-Source/KeePass/UI/ToolStripRendering/Win10Tsr.cs

			get { return SystemColors.ControlDark; }
			}

			public override Color SeparatorLight
			{
				get { return m_clrBarBack; }
			}

			public override Color StatusStripGradientBegin
			{
				get { return m_clrMenuBack; }
			}

			public override Color StatusStripGradientEnd
			{
				get { return m_clrMenuBack; }
			}

			public override Color ToolStripBorder
			{
				get { return m_clrMenuBack; }
			}

			public override Color ToolStripContentPanelGradientBegin
			{
				get { return m_clrMenuBack; } // Untested
			}

			public override Color ToolStripContentPanelGradientEnd
			{
				get { return m_clrMenuBack; } // Untested
			}

			public override Color ToolStripDropDownBackground
			{
				get { return m_clrMenuBack; }
			}

			public override Color ToolStripGradientBegin
			{
				get { return m_clrBarBack; }
			}

			public override Color ToolStripGradientEnd
			{
				get { return m_clrBarBack; }
			}

			public override Color ToolStripGradientMiddle
			{
				get { return m_clrBarBack; }
			}

			public override Color ToolStripPanelGradientBegin
			{
				get { return m_clrBarBack; } // Untested
			}

			public override Color ToolStripPanelGradientEnd
			{
				get { return m_clrBarBack; } // Untested
			}
		}


=====================================================================
Found a 32 line (145 tokens) duplication in the following files: 
Starting at line 30 of KeePass-2.56-Source/KeePass/Ecas/EcasAction.cs
Starting at line 30 of KeePass-2.56-Source/KeePass/Ecas/EcasCondition.cs

public sealed class EcasAction : IDeepCloneable<EcasAction>, IEcasObject
	{
		private PwUuid m_type = PwUuid.Zero;
		[XmlIgnore]
		public PwUuid Type
		{
			get { return m_type; }
			set { m_type = value; }
		}

		[XmlElement("TypeGuid")]
		public string TypeString
		{
			get { return Convert.ToBase64String(m_type.UuidBytes, Base64FormattingOptions.None); }
			set
			{
				if(value == null) throw new ArgumentNullException("value");
				m_type = new PwUuid(Convert.FromBase64String(value));
			}
		}

		private List<string> m_params = new List<string>();
		[XmlArrayItem("Parameter")]
		public List<string> Parameters
		{
			get { return m_params; }
			set
			{
				if(value == null) throw new ArgumentNullException("value");
				m_params = value;
			}
		}


=====================================================================
Found a 18 line (144 tokens) duplication in the following files: 
Starting at line 873 of KeePass-2.56-Source/KeePass/Util/EntryUtil.cs
Starting at line 1007 of KeePass-2.56-Source/KeePass/Util/EntryUtil.cs

		internal static List<object> FindDuplicatePasswords(PwDatabase pd,
			IStatusLogger sl, out Action<ListView> fInit)
		{
			fInit = delegate(ListView lv)
			{
				int w = lv.ClientSize.Width - UIUtil.GetVScrollBarWidth();
				int wf = w / 4;
				int di = Math.Min(UIUtil.GetSmallIconSize().Width, wf);

				lv.Columns.Add(KPRes.Title, wf + di);
				lv.Columns.Add(KPRes.UserName, wf);
				lv.Columns.Add(KPRes.Password, wf);
				lv.Columns.Add(KPRes.Group, wf - di);

				UIUtil.SetDisplayIndices(lv, new int[] { 1, 2, 3, 0 });
			};

			List<List<PwEntry>> lDups = FindDuplicatePasswordsEx(pd, sl);

=====================================================================
Found a 60 line (137 tokens) duplication in the following files: 
Starting at line 303 of KeePass-2.56-Source/KeePass/UI/ToolStripRendering/Win10Tsr.cs
Starting at line 303 of KeePass-2.56-Source/KeePass/UI/ToolStripRendering/Win81Tsr.cs

			get { return m_clrBarBack; }
			}

			public override Color StatusStripGradientBegin
			{
				get { return m_clrMenuBack; }
			}

			public override Color StatusStripGradientEnd
			{
				get { return m_clrMenuBack; }
			}

			public override Color ToolStripBorder
			{
				get { return m_clrMenuBack; }
			}

			public override Color ToolStripContentPanelGradientBegin
			{
				get { return m_clrMenuBack; } // Untested
			}

			public override Color ToolStripContentPanelGradientEnd
			{
				get { return m_clrMenuBack; } // Untested
			}

			public override Color ToolStripDropDownBackground
			{
				get { return m_clrMenuBack; }
			}

			public override Color ToolStripGradientBegin
			{
				get { return m_clrBarBack; }
			}

			public override Color ToolStripGradientEnd
			{
				get { return m_clrBarBack; }
			}

			public override Color ToolStripGradientMiddle
			{
				get { return m_clrBarBack; }
			}

			public override Color ToolStripPanelGradientBegin
			{
				get { return m_clrBarBack; } // Untested
			}

			public override Color ToolStripPanelGradientEnd
			{
				get { return m_clrBarBack; } // Untested
			}
		}

		public Win10Tsr() : base(new Win10TsrColorTable())
	
=====================================================================
Found a 58 line (136 tokens) duplication in the following files: 
Starting at line 322 of KeePass-2.56-Source/KeePass/UI/ToolStripRendering/SystemTsr.cs
Starting at line 303 of KeePass-2.56-Source/KeePass/UI/ToolStripRendering/Win81Tsr.cs

			get { return m_clrBarBack; }
			}

			public override Color StatusStripGradientBegin
			{
				get { return m_clrMenuBack; }
			}

			public override Color StatusStripGradientEnd
			{
				get { return m_clrMenuBack; }
			}

			public override Color ToolStripBorder
			{
				get { return m_clrMenuBack; }
			}

			public override Color ToolStripContentPanelGradientBegin
			{
				get { return m_clrMenuBack; } // Untested
			}

			public override Color ToolStripContentPanelGradientEnd
			{
				get { return m_clrMenuBack; } // Untested
			}

			public override Color ToolStripDropDownBackground
			{
				get { return m_clrMenuBack; }
			}

			public override Color ToolStripGradientBegin
			{
				get { return m_clrBarBack; }
			}

			public override Color ToolStripGradientEnd
			{
				get { return m_clrBarBack; }
			}

			public override Color ToolStripGradientMiddle
			{
				get { return m_clrBarBack; }
			}

			public override Color ToolStripPanelGradientBegin
			{
				get { return m_clrBarBack; } // Untested
			}

			public override Color ToolStripPanelGradientEnd
			{
				get { return m_clrBarBack; } // Untested
			}
		}


=====================================================================
Found a 24 line (135 tokens) duplication in the following files: 
Starting at line 586 of KeePass-2.56-Source/KeePass/Forms/ListViewForm.cs
Starting at line 446 of KeePass-2.56-Source/KeePass/Forms/PrintForm.cs

			sb.AppendLine("\tfont-size: 10pt;");
			sb.AppendLine("}");

			sb.AppendLine("h2, h3 {");
			sb.AppendLine("\tcolor: #000000;");
			sb.AppendLine("\tbackground-color: #D0D0D0;");
			sb.AppendLine("\tborder: 1px solid #808080;");
			sb.AppendLine("\tpadding-left: 2pt;");
			sb.AppendLine("\tpadding-right: 2pt;"); // RTL support
			sb.AppendLine("}");

			sb.AppendLine("table, th, td {");
			sb.AppendLine("\tborder: 0px none;");
			sb.AppendLine("\tborder-collapse: collapse;");
			sb.AppendLine("}");

			sb.AppendLine("table {");
			sb.AppendLine("\twidth: 100%;");
			sb.AppendLine("\ttable-layout: fixed;");
			sb.AppendLine("\tempty-cells: show;");
			sb.AppendLine("}");

			sb.AppendLine("th, td {");
			sb.AppendLine("\ttext-align: " + (bRtl ? "right;" : "left;"));

=====================================================================
Found a 33 line (135 tokens) duplication in the following files: 
Starting at line 175 of KeePass-2.56-Source/KeePassLib/Serialization/HashedBlockStream.cs
Starting at line 178 of KeePass-2.56-Source/KeePassLib/Serialization/HmacBlockStream.cs

			throw new NotSupportedException();
		}

		public override int Read(byte[] pbBuffer, int iOffset, int nCount)
		{
			if(m_bWriting) throw new InvalidOperationException();

			int nRemaining = nCount;
			while(nRemaining > 0)
			{
				if(m_iBufferPos == m_pbBuffer.Length)
				{
					if(!ReadSafeBlock())
						return (nCount - nRemaining); // Bytes actually read
				}

				int nCopy = Math.Min(m_pbBuffer.Length - m_iBufferPos, nRemaining);
				Debug.Assert(nCopy > 0);

				Array.Copy(m_pbBuffer, m_iBufferPos, pbBuffer, iOffset, nCopy);

				iOffset += nCopy;
				m_iBufferPos += nCopy;

				nRemaining -= nCopy;
			}

			return nCount;
		}

		private bool ReadSafeBlock()
		{
			if(m_bEos) return false; // End of stream reached already

=====================================================================
Found a 22 line (130 tokens) duplication in the following files: 
Starting at line 3415 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3453 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3494 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs

			KeePass.Ecas.EcasEvent o = new KeePass.Ecas.EcasEvent();

			if(SkipEmptyElement(xr)) return o;

			Debug.Assert(xr.NodeType == XmlNodeType.Element);
			xr.ReadStartElement();
			xr.MoveToContent();

			while(true)
			{
				XmlNodeType nt = xr.NodeType;
				if((nt == XmlNodeType.EndElement) || (nt == XmlNodeType.None)) break;
				if(nt != XmlNodeType.Element) { Debug.Assert(false); xr.Skip(); continue; }

				switch(xr.LocalName)
				{
					case "TypeGuid":
						o.TypeString = ReadString(xr);
						break;
					case "Parameters":
						o.Parameters = ReadListOfString(xr);
						break;

=====================================================================
Found a 15 line (127 tokens) duplication in the following files: 
Starting at line 112 of KeePass-2.56-Source/KeePass/Forms/EcasActionForm.Designer.cs
Starting at line 123 of KeePass-2.56-Source/KeePass/Forms/EcasConditionForm.Designer.cs
Starting at line 112 of KeePass-2.56-Source/KeePass/Forms/EcasEventForm.Designer.cs

		this.m_btnHelp.Location = new System.Drawing.Point(12, 289);
			this.m_btnHelp.Name = "m_btnHelp";
			this.m_btnHelp.Size = new System.Drawing.Size(75, 23);
			this.m_btnHelp.TabIndex = 5;
			this.m_btnHelp.Text = "&Help";
			this.m_btnHelp.UseVisualStyleBackColor = true;
			this.m_btnHelp.Click += new System.EventHandler(this.OnBtnHelp);
			// 
			// EcasActionForm
			// 
			this.AcceptButton = this.m_btnOK;
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.CancelButton = this.m_btnCancel;
			this.ClientSize = new System.Drawing.Size(534, 324);
	
=====================================================================
Found a 17 line (125 tokens) duplication in the following files: 
Starting at line 152 of KeePass-2.56-Source/KeePass/Forms/HelpSourceForm.Designer.cs
Starting at line 216 of KeePass-2.56-Source/KeePass/Forms/KeyFileCreationForm.Designer.cs

		this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
			this.Text = "<DYN>";
			this.Load += new System.EventHandler(this.OnFormLoad);
			this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.OnFormClosed);
			((System.ComponentModel.ISupportInitialize)(this.m_bannerImage)).EndInit();
			this.ResumeLayout(false);
			this.PerformLayout();

		}

		#endregion

		private System.Windows.Forms.PictureBox m_bannerImage;
		private System.Windows.Forms.Button m_btnOK;
		private System.Windows.Forms.Button m_btnCancel;
		private System.Windows.Forms.RadioButton m_radioLocal;
	
=====================================================================
Found a 14 line (123 tokens) duplication in the following files: 
Starting at line 71 of KeePass-2.56-Source/KeePass/Forms/CharPickerForm.Designer.cs
Starting at line 106 of KeePass-2.56-Source/KeePass/Forms/KeyPromptForm.Designer.cs
Starting at line 87 of KeePass-2.56-Source/KeePass/Forms/OtpGeneratorForm.Designer.cs

		this.m_btnCancel.Location = new System.Drawing.Point(89, 5);
			this.m_btnCancel.Name = "m_btnCancel";
			this.m_btnCancel.Size = new System.Drawing.Size(75, 23);
			this.m_btnCancel.TabIndex = 1;
			this.m_btnCancel.Text = "Cancel";
			this.m_btnCancel.UseVisualStyleBackColor = true;
			this.m_btnCancel.Click += new System.EventHandler(this.OnBtnCancel);
			// 
			// m_bannerImage
			// 
			this.m_bannerImage.Dock = System.Windows.Forms.DockStyle.Top;
			this.m_bannerImage.Location = new System.Drawing.Point(0, 0);
			this.m_bannerImage.Name = "m_bannerImage";
			this.m_bannerImage.Size = new System.Drawing.Size(628, 60);
	
=====================================================================
Found a 17 line (122 tokens) duplication in the following files: 
Starting at line 208 of KeePass-2.56-Source/KeePassLib/Cryptography/Cipher/ChaCha20Cipher.cs
Starting at line 139 of KeePass-2.56-Source/KeePassLib/Cryptography/Cipher/Salsa20Cipher.cs

				x[ 4] = MemUtil.RotateLeft32(x[ 4] ^ x[ 9],  7);
				}

				for(int i = 0; i < 16; ++i) x[i] += s[i];

				for(int i = 0; i < 16; ++i)
				{
					int i4 = i << 2;
					uint xi = x[i];

					pbBlock[i4] = (byte)xi;
					pbBlock[i4 + 1] = (byte)(xi >> 8);
					pbBlock[i4 + 2] = (byte)(xi >> 16);
					pbBlock[i4 + 3] = (byte)(xi >> 24);
				}

				++s[12];
	
=====================================================================
Found a 13 line (120 tokens) duplication in the following files: 
Starting at line 32 of KeePass-2.56-Source/KeePass/Forms/EcasActionForm.Designer.cs
Starting at line 32 of KeePass-2.56-Source/KeePass/Forms/EcasEventForm.Designer.cs

		this.m_lblAction = new System.Windows.Forms.Label();
			this.m_btnOK = new System.Windows.Forms.Button();
			this.m_btnCancel = new System.Windows.Forms.Button();
			this.m_dgvParams = new System.Windows.Forms.DataGridView();
			this.m_lblParamHint = new System.Windows.Forms.Label();
			this.m_lblSep = new System.Windows.Forms.Label();
			this.m_btnHelp = new System.Windows.Forms.Button();
			((System.ComponentModel.ISupportInitialize)(this.m_dgvParams)).BeginInit();
			this.SuspendLayout();
			// 
			// m_cmbActions
			// 
			this.m_cmbActions.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
	
=====================================================================
Found a 23 line (120 tokens) duplication in the following files: 
Starting at line 2554 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 2602 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3076 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs

						o.Name = xr.Value;
						break;
					default:
						Debug.Assert(false);
						break;
				}
			}

			if(SkipEmptyElement(xr)) return o;

			Debug.Assert(xr.NodeType == XmlNodeType.Element);
			xr.ReadStartElement();
			xr.MoveToContent();

			while(true)
			{
				XmlNodeType nt = xr.NodeType;
				if((nt == XmlNodeType.EndElement) || (nt == XmlNodeType.None)) break;
				if(nt != XmlNodeType.Element) { Debug.Assert(false); xr.Skip(); continue; }

				switch(xr.LocalName)
				{
					case "Strings":

=====================================================================
Found a 27 line (119 tokens) duplication in the following files: 
Starting at line 37 of KeePass-2.56-Source/KeePass/Ecas/EcasCondition.cs
Starting at line 41 of KeePass-2.56-Source/KeePass/Ecas/EcasEvent.cs

		set { m_type = value; }
		}

		[XmlElement("TypeGuid")]
		public string TypeString
		{
			get { return Convert.ToBase64String(m_type.UuidBytes, Base64FormattingOptions.None); }
			set
			{
				if(value == null) throw new ArgumentNullException("value");
				m_type = new PwUuid(Convert.FromBase64String(value));
			}
		}

		private List<string> m_params = new List<string>();
		[XmlArrayItem("Parameter")]
		public List<string> Parameters
		{
			get { return m_params; }
			set
			{
				if(value == null) throw new ArgumentNullException("value");
				m_params = value;
			}
		}

		private bool m_bNegate = false;
	
=====================================================================
Found a 25 line (118 tokens) duplication in the following files: 
Starting at line 37 of KeePass-2.56-Source/KeePass/Ecas/EcasAction.cs
Starting at line 41 of KeePass-2.56-Source/KeePass/Ecas/EcasEvent.cs

		set { m_type = value; }
		}

		[XmlElement("TypeGuid")]
		public string TypeString
		{
			get { return Convert.ToBase64String(m_type.UuidBytes, Base64FormattingOptions.None); }
			set
			{
				if(value == null) throw new ArgumentNullException("value");
				m_type = new PwUuid(Convert.FromBase64String(value));
			}
		}

		private List<string> m_params = new List<string>();
		[XmlArrayItem("Parameter")]
		public List<string> Parameters
		{
			get { return m_params; }
			set
			{
				if(value == null) throw new ArgumentNullException("value");
				m_params = value;
			}
		}


=====================================================================
Found a 14 line (118 tokens) duplication in the following files: 
Starting at line 777 of KeePass-2.56-Source/KeePassLib/Utility/MemUtil.cs
Starting at line 797 of KeePass-2.56-Source/KeePassLib/Utility/MemUtil.cs

		public static IEnumerable<T> Intersect<T>(IEnumerable<T> a, IEnumerable<T> b,
			IEqualityComparer<T> cmp)
		{
			if(a == null) throw new ArgumentNullException("a");
			if(b == null) throw new ArgumentNullException("b");

			Dictionary<T, bool> d = ((cmp != null) ?
				(new Dictionary<T, bool>(cmp)) : (new Dictionary<T, bool>()));

			foreach(T tb in b) { d[tb] = true; }

			foreach(T ta in a)
			{
				if(d.Remove(ta)) // Prevent duplicates

=====================================================================
Found a 20 line (117 tokens) duplication in the following files: 
Starting at line 1405 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3206 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs

			KeePass.Ecas.EcasTriggerSystem o = new KeePass.Ecas.EcasTriggerSystem();

			if(SkipEmptyElement(xr)) return o;

			Debug.Assert(xr.NodeType == XmlNodeType.Element);
			xr.ReadStartElement();
			xr.MoveToContent();

			while(true)
			{
				XmlNodeType nt = xr.NodeType;
				if((nt == XmlNodeType.EndElement) || (nt == XmlNodeType.None)) break;
				if(nt != XmlNodeType.Element) { Debug.Assert(false); xr.Skip(); continue; }

				switch(xr.LocalName)
				{
					case "Enabled":
						o.Enabled = ReadBoolean(xr);
						break;
					case "Triggers":

=====================================================================
Found a 20 line (117 tokens) duplication in the following files: 
Starting at line 2039 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 2137 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3247 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs

			KeePassLib.Cryptography.PasswordGenerator.PwProfile o = new KeePassLib.Cryptography.PasswordGenerator.PwProfile();

			if(SkipEmptyElement(xr)) return o;

			Debug.Assert(xr.NodeType == XmlNodeType.Element);
			xr.ReadStartElement();
			xr.MoveToContent();

			while(true)
			{
				XmlNodeType nt = xr.NodeType;
				if((nt == XmlNodeType.EndElement) || (nt == XmlNodeType.None)) break;
				if(nt != XmlNodeType.Element) { Debug.Assert(false); xr.Skip(); continue; }

				switch(xr.LocalName)
				{
					case "Name":
						o.Name = ReadString(xr);
						break;
					case "GeneratorType":

=====================================================================
Found a 19 line (116 tokens) duplication in the following files: 
Starting at line 281 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1405 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3206 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs

			KeePass.App.Configuration.AceLogging o = new KeePass.App.Configuration.AceLogging();

			if(SkipEmptyElement(xr)) return o;

			Debug.Assert(xr.NodeType == XmlNodeType.Element);
			xr.ReadStartElement();
			xr.MoveToContent();

			while(true)
			{
				XmlNodeType nt = xr.NodeType;
				if((nt == XmlNodeType.EndElement) || (nt == XmlNodeType.None)) break;
				if(nt != XmlNodeType.Element) { Debug.Assert(false); xr.Skip(); continue; }

				switch(xr.LocalName)
				{
					case "Enabled":
						o.Enabled = ReadBoolean(xr);
						break;

=====================================================================
Found a 63 line (114 tokens) duplication in the following files: 
Starting at line 206 of KeePass-2.56-Source/KeePassLib/PwEntry.cs
Starting at line 182 of KeePass-2.56-Source/KeePassLib/PwGroup.cs

			set { m_clrBackground = value; }
		}

		/// <summary>
		/// The date/time when this entry was created.
		/// </summary>
		public DateTime CreationTime
		{
			get { return m_tCreation; }
			set { m_tCreation = value; }
		}

		/// <summary>
		/// The date/time when this entry was last modified.
		/// </summary>
		public DateTime LastModificationTime
		{
			get { return m_tLastMod; }
			set { m_tLastMod = value; }
		}

		/// <summary>
		/// The date/time when this entry was last accessed (read).
		/// </summary>
		public DateTime LastAccessTime
		{
			get { return m_tLastAccess; }
			set { m_tLastAccess = value; }
		}

		/// <summary>
		/// The date/time when this entry expires. Use the <c>Expires</c> property
		/// to specify if the entry does actually expire or not.
		/// </summary>
		public DateTime ExpiryTime
		{
			get { return m_tExpire; }
			set { m_tExpire = value; }
		}

		/// <summary>
		/// Specifies whether the entry expires or not.
		/// </summary>
		public bool Expires
		{
			get { return m_bExpires; }
			set { m_bExpires = value; }
		}

		/// <summary>
		/// Get or set the usage count of the entry. To increase the usage
		/// count by one, use the <c>Touch</c> function.
		/// </summary>
		public ulong UsageCount
		{
			get { return m_uUsageCount; }
			set { m_uUsageCount = value; }
		}

		/// <summary>
		/// Entry-specific override URL.
		/// </summary>
		public string OverrideUrl

=====================================================================
Found a 12 line (113 tokens) duplication in the following files: 
Starting at line 111 of KeePass-2.56-Source/KeePass/DataExchange/Formats/PassKeeper12.cs
Starting at line 119 of KeePass-2.56-Source/KeePass/DataExchange/Formats/SteganosUI2007.cs

		PwGroup pg = pwDb.RootGroup;
			PwEntry pe = new PwEntry(true, true);
			pg.AddEntry(pe, true);

			pe.Strings.Set(PwDefs.TitleField, new ProtectedString(
				pwDb.MemoryProtection.ProtectTitle, strTitle));
			pe.Strings.Set(PwDefs.UserNameField, new ProtectedString(
				pwDb.MemoryProtection.ProtectUserName, strUserName));
			pe.Strings.Set(PwDefs.PasswordField, new ProtectedString(
				pwDb.MemoryProtection.ProtectPassword, strPassword));
			pe.Strings.Set(PwDefs.NotesField, new ProtectedString(
				pwDb.MemoryProtection.ProtectNotes, strNotes));


=====================================================================
Found a 32 line (113 tokens) duplication in the following files: 
Starting at line 4 of KeePass-2.56-Source/KeePass/Forms/DatabaseSettingsForm.Designer.cs
Starting at line 4 of KeePass-2.56-Source/KeePass/Forms/EcasTriggersForm.Designer.cs
Starting at line 4 of KeePass-2.56-Source/KeePass/Forms/ExchangeDataForm.Designer.cs
Starting at line 4 of KeePass-2.56-Source/KeePass/Forms/OptionsForm.Designer.cs
Starting at line 4 of KeePass-2.56-Source/KeePass/Forms/SearchForm.Designer.cs

{
		/// <summary>
		/// Erforderliche Designervariable.
		/// </summary>
		private System.ComponentModel.IContainer components = null;

		/// <summary>
		/// Verwendete Ressourcen bereinigen.
		/// </summary>
		/// <param name="disposing">True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.</param>
		protected override void Dispose(bool disposing)
		{
			if(disposing && (components != null))
			{
				components.Dispose();
			}
			base.Dispose(disposing);
		}

		#region Vom Windows Form-Designer generierter Code

		/// <summary>
		/// Erforderliche Methode für die Designerunterstützung.
		/// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
		/// </summary>
		private void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			this.m_bannerImage = new System.Windows.Forms.PictureBox();
			this.m_btnOK = new System.Windows.Forms.Button();
			this.m_btnCancel = new System.Windows.Forms.Button();
			this.m_grpEncAlgo = new System.Windows.Forms.GroupBox();
	
=====================================================================
Found a 17 line (113 tokens) duplication in the following files: 
Starting at line 4901 of KeePass-2.56-Source/KeePass/Forms/MainForm_Functions.cs
Starting at line 5018 of KeePass-2.56-Source/KeePass/Forms/MainForm_Functions.cs

					KPRes.RecycleEntryConfirm);
				dlg.SetIcon(VtdCustomIcon.Question);
				dlg.VerificationText = UIUtil.GetDialogNoShowAgainText(KPRes.Yes);
				dlg.WindowTitle = PwDefs.ShortProductName;
				dlg.AddButton((int)DialogResult.OK, KPRes.YesCmd, null);
				dlg.AddButton((int)DialogResult.Cancel, KPRes.NoCmd, null);

				if(dlg.ShowDialog())
				{
					if(dlg.Result == (int)DialogResult.Cancel) return;

					if(dlg.ResultVerificationChecked)
						Program.Config.UI.ShowRecycleConfirmDialog = false;
				}
				else
				{
					string strText = (bSingle ? KPRes.RecycleEntryConfirmSingle :

=====================================================================
Found a 29 line (113 tokens) duplication in the following files: 
Starting at line 253 of KeePass-2.56-Source/KeePassLib/Serialization/HashedBlockStream.cs
Starting at line 272 of KeePass-2.56-Source/KeePassLib/Serialization/HmacBlockStream.cs

					throw new InvalidDataException();
			}

			return true;
		}

		public override void Write(byte[] pbBuffer, int iOffset, int nCount)
		{
			if(!m_bWriting) throw new InvalidOperationException();

			while(nCount > 0)
			{
				if(m_iBufferPos == m_pbBuffer.Length)
					WriteSafeBlock();

				int nCopy = Math.Min(m_pbBuffer.Length - m_iBufferPos, nCount);
				Debug.Assert(nCopy > 0);

				Array.Copy(pbBuffer, iOffset, m_pbBuffer, m_iBufferPos, nCopy);

				iOffset += nCopy;
				m_iBufferPos += nCopy;

				nCount -= nCopy;
			}
		}

		private void WriteSafeBlock()
		{

=====================================================================
Found a 19 line (112 tokens) duplication in the following files: 
Starting at line 2554 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 2602 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3076 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3301 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs

						o.Name = xr.Value;
						break;
					default:
						Debug.Assert(false);
						break;
				}
			}

			if(SkipEmptyElement(xr)) return o;

			Debug.Assert(xr.NodeType == XmlNodeType.Element);
			xr.ReadStartElement();
			xr.MoveToContent();

			while(true)
			{
				XmlNodeType nt = xr.NodeType;
				if((nt == XmlNodeType.EndElement) || (nt == XmlNodeType.None)) break;
				if(nt != XmlNodeType.Element) { Debug.Assert(false); xr.Skip(); continue; }

=====================================================================
Found a 16 line (106 tokens) duplication in the following files: 
Starting at line 51 of KeePass-2.56-Source/KeePass/DataExchange/Formats/DesktopKnoxXml32.cs
Starting at line 57 of KeePass-2.56-Source/KeePass/DataExchange/Formats/PwSaverXml412.cs

	public override string FormatName { get { return "DesktopKnox XML"; } }
		public override string DefaultExtension { get { return "xml"; } }
		public override string ApplicationGroup { get { return KPRes.PasswordManagers; } }

		public override void Import(PwDatabase pwStorage, Stream sInput,
			IStatusLogger slLogger)
		{
			StreamReader sr = new StreamReader(sInput, StrUtil.Utf8);
			string strDoc = sr.ReadToEnd();
			sr.Close();

			XmlDocument doc = XmlUtilEx.CreateXmlDocument();
			doc.LoadXml(strDoc);

			XmlElement xmlRoot = doc.DocumentElement;
			Debug.Assert(xmlRoot.Name == ElemRoot);


=====================================================================
Found a 18 line (104 tokens) duplication in the following files: 
Starting at line 56 of KeePass-2.56-Source/KeePass/DataExchange/CsvStreamReader.cs
Starting at line 101 of KeePass-2.56-Source/KeePass/DataExchange/CsvStreamReader.cs

		List<string> v = new List<string>();
			StringBuilder sb = new StringBuilder();
			bool bInField = false;

			while(true)
			{
				char ch = m_sChars.ReadChar();
				if(ch == char.MinValue) break;

				if((ch == '\"') && !bInField) bInField = true;
				else if((ch == '\"') && bInField)
				{
					if(m_sChars.PeekChar() == '\"')
					{
						m_sChars.ReadChar();
						sb.Append('\"');
					}
					else
	
=====================================================================
Found a 15 line (104 tokens) duplication in the following files: 
Starting at line 2708 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3334 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3361 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3388 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs

			List<KeePass.Ecas.EcasTrigger> l = new List<KeePass.Ecas.EcasTrigger>();

			if(SkipEmptyElement(xr)) return l.ToArray();

			Debug.Assert(xr.NodeType == XmlNodeType.Element);
			xr.ReadStartElement();
			xr.MoveToContent();

			while(true)
			{
				XmlNodeType nt = xr.NodeType;
				if((nt == XmlNodeType.EndElement) || (nt == XmlNodeType.None)) break;
				if(nt != XmlNodeType.Element) { Debug.Assert(false); xr.Skip(); continue; }

				KeePass.Ecas.EcasTrigger oElem = ReadEcasTrigger(xr);

=====================================================================
Found a 17 line (103 tokens) duplication in the following files: 
Starting at line 21 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 89 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 133 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 180 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 281 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 316 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 477 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 593 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 673 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 708 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 749 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 787 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 873 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1031 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1167 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1217 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1282 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1332 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1370 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1405 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1513 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1548 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1583 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1648 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1692 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1733 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1777 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1859 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1918 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1998 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 2039 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 2137 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 2286 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 2327 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 2434 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 2509 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 2735 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 2909 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3147 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3206 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3247 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3415 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3453 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3494 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs

			KeePass.App.Configuration.AppConfigEx o = new KeePass.App.Configuration.AppConfigEx();

			if(SkipEmptyElement(xr)) return o;

			Debug.Assert(xr.NodeType == XmlNodeType.Element);
			xr.ReadStartElement();
			xr.MoveToContent();

			while(true)
			{
				XmlNodeType nt = xr.NodeType;
				if((nt == XmlNodeType.EndElement) || (nt == XmlNodeType.None)) break;
				if(nt != XmlNodeType.Element) { Debug.Assert(false); xr.Skip(); continue; }

				switch(xr.LocalName)
				{
					case "Meta":

=====================================================================
Found a 14 line (102 tokens) duplication in the following files: 
Starting at line 42 of KeePass-2.56-Source/KeePass/DataExchange/Formats/AnyPwCsv144.cs
Starting at line 41 of KeePass-2.56-Source/KeePass/DataExchange/Formats/PwKeeperCsv70.cs

		public override string FormatName { get { return "Any Password CSV"; } }
		public override string DefaultExtension { get { return "csv"; } }
		public override string ApplicationGroup { get { return KPRes.PasswordManagers; } }
		
		public override bool ImportAppendsToRootGroupOnly { get { return true; } }

		public override void Import(PwDatabase pwStorage, Stream sInput,
			IStatusLogger slLogger)
		{
			StreamReader sr = new StreamReader(sInput, Encoding.Default);
			string strData = sr.ReadToEnd();
			sr.Close();

			string[] vLines = strData.Split(new char[] { '\r', '\n' },

=====================================================================
Found a 12 line (102 tokens) duplication in the following files: 
Starting at line 1108 of KeePass-2.56-Source/KeePass/Util/EntryUtil.cs
Starting at line 1316 of KeePass-2.56-Source/KeePass/Util/EntryUtil.cs

		private static List<EuxSimilarPasswords> FindSimilarPasswordsPEx(
			PwDatabase pd, IStatusLogger sl)
		{
			if((pd == null) || !pd.IsOpen) { Debug.Assert(false); return null; }
			PwGroup pg = pd.RootGroup;
			if(pg == null) { Debug.Assert(false); return null; }

			const uint uPrePct = 33;
			const long cPostPct = 67;

			List<PwEntry> lEntries = new List<PwEntry>();
			List<char[]> lPasswords = new List<char[]>();

=====================================================================
Found a 15 line (102 tokens) duplication in the following files: 
Starting at line 1004 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 2708 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3334 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3361 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3388 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs

			List<KeePass.App.Configuration.AceKvp> l = new List<KeePass.App.Configuration.AceKvp>();

			if(SkipEmptyElement(xr)) return l.ToArray();

			Debug.Assert(xr.NodeType == XmlNodeType.Element);
			xr.ReadStartElement();
			xr.MoveToContent();

			while(true)
			{
				XmlNodeType nt = xr.NodeType;
				if((nt == XmlNodeType.EndElement) || (nt == XmlNodeType.None)) break;
				if(nt != XmlNodeType.Element) { Debug.Assert(false); xr.Skip(); continue; }

				KeePass.App.Configuration.AceKvp oElem = ReadAceKvp(xr);

=====================================================================
Found a 15 line (102 tokens) duplication in the following files: 
Starting at line 1621 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 2259 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3012 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs

			System.Collections.Generic.List<KeePass.App.Configuration.AceColumn> o = new System.Collections.Generic.List<KeePass.App.Configuration.AceColumn>();

			if(SkipEmptyElement(xr)) return o;

			Debug.Assert(xr.NodeType == XmlNodeType.Element);
			xr.ReadStartElement();
			xr.MoveToContent();

			while(true)
			{
				XmlNodeType nt = xr.NodeType;
				if((nt == XmlNodeType.EndElement) || (nt == XmlNodeType.None)) break;
				if(nt != XmlNodeType.Element) { Debug.Assert(false); xr.Skip(); continue; }

				KeePass.App.Configuration.AceColumn oElem = ReadAceColumn(xr);

=====================================================================
Found a 34 line (102 tokens) duplication in the following files: 
Starting at line 281 of KeePass-2.56-Source/KeePassLib/PwEntry.cs
Starting at line 302 of KeePass-2.56-Source/KeePassLib/PwGroup.cs

			set { m_bQualityCheck = value; }
		}

		/// <summary>
		/// List of tags associated with this entry.
		/// </summary>
		public List<string> Tags
		{
			get { StrUtil.NormalizeTags(m_lTags); return m_lTags; }
			set
			{
				if(value == null) { Debug.Assert(false); throw new ArgumentNullException("value"); }
				m_lTags = value;
			}
		}

		/// <summary>
		/// Custom data container that can be used by plugins to store
		/// own data in KeePass entries.
		/// The data is stored in the encrypted part of encrypted
		/// database files.
		/// Use unique names for your items, e.g. "PluginName_ItemName".
		/// </summary>
		public StringDictionaryEx CustomData
		{
			get { return m_dCustomData; }
			internal set
			{
				if(value == null) { Debug.Assert(false); throw new ArgumentNullException("value"); }
				m_dCustomData = value;
			}
		}

		public static EventHandler<ObjectTouchedEventArgs> EntryTouched;

=====================================================================
Found a 29 line (102 tokens) duplication in the following files: 
Starting at line 51 of KeePass-2.56-Source/KeePassLib/Serialization/HashedBlockStream.cs
Starting at line 48 of KeePass-2.56-Source/KeePassLib/Serialization/HmacBlockStream.cs

		private uint m_uBlockIndex = 0;

		public override bool CanRead
		{
			get { return !m_bWriting; }
		}

		public override bool CanSeek
		{
			get { return false; }
		}

		public override bool CanWrite
		{
			get { return m_bWriting; }
		}

		public override long Length
		{
			get { Debug.Assert(false); throw new NotSupportedException(); }
		}

		public override long Position
		{
			get { Debug.Assert(false); throw new NotSupportedException(); }
			set { Debug.Assert(false); throw new NotSupportedException(); }
		}

		public HashedBlockStream(Stream sBase, bool bWriting) :

=====================================================================
Found a 14 line (100 tokens) duplication in the following files: 
Starting at line 179 of KeePass-2.56-Source/KeePass/DataExchange/Formats/KeePassXXml041.cs
Starting at line 173 of KeePass-2.56-Source/KeePass/DataExchange/Formats/KeePassXml1x.cs

			}
				else if(xmlChild.Name == ElemAttachDesc)
					strAttachDesc = XmlUtil.SafeInnerText(xmlChild);
				else if(xmlChild.Name == ElemAttachment)
					strAttachment = XmlUtil.SafeInnerText(xmlChild);
				else { Debug.Assert(false); }
			}

			if(!string.IsNullOrEmpty(strAttachDesc) && (strAttachment != null))
			{
				byte[] pbData = Convert.FromBase64String(strAttachment);
				ProtectedBinary pb = new ProtectedBinary(false, pbData);
				pe.Binaries.Set(strAttachDesc, pb);
			}
	
=====================================================================
Found a 31 line (100 tokens) duplication in the following files: 
Starting at line 4 of KeePass-2.56-Source/KeePass/Forms/CharPickerForm.Designer.cs
Starting at line 4 of KeePass-2.56-Source/KeePass/Forms/OptionsEnfForm.Designer.cs
Starting at line 4 of KeePass-2.56-Source/KeePass/Forms/SingleLineEditForm.Designer.cs

{
		/// <summary>
		/// Erforderliche Designervariable.
		/// </summary>
		private System.ComponentModel.IContainer components = null;

		/// <summary>
		/// Verwendete Ressourcen bereinigen.
		/// </summary>
		/// <param name="disposing">True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.</param>
		protected override void Dispose(bool disposing)
		{
			if(disposing && (components != null))
			{
				components.Dispose();
			}
			base.Dispose(disposing);
		}

		#region Vom Windows Form-Designer generierter Code

		/// <summary>
		/// Erforderliche Methode für die Designerunterstützung.
		/// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
		/// </summary>
		private void InitializeComponent()
		{
			this.m_btnOK = new System.Windows.Forms.Button();
			this.m_btnCancel = new System.Windows.Forms.Button();
			this.m_bannerImage = new System.Windows.Forms.PictureBox();
			this.m_lblChars = new System.Windows.Forms.Label();
	
=====================================================================
Found a 15 line (100 tokens) duplication in the following files: 
Starting at line 138 of KeePass-2.56-Source/KeePass/Forms/EcasActionForm.Designer.cs
Starting at line 150 of KeePass-2.56-Source/KeePass/Forms/EcasConditionForm.Designer.cs
Starting at line 138 of KeePass-2.56-Source/KeePass/Forms/EcasEventForm.Designer.cs

		this.Name = "EcasActionForm";
			this.ShowInTaskbar = false;
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
			this.Text = "<>";
			this.Load += new System.EventHandler(this.OnFormLoad);
			this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.OnFormClosed);
			((System.ComponentModel.ISupportInitialize)(this.m_dgvParams)).EndInit();
			this.ResumeLayout(false);
			this.PerformLayout();

		}

		#endregion

		private System.Windows.Forms.ComboBox m_cmbActions;
	
=====================================================================
Found a 31 line (100 tokens) duplication in the following files: 
Starting at line 4 of KeePass-2.56-Source/KeePass/Forms/EcasTriggerForm.Designer.cs
Starting at line 4 of KeePass-2.56-Source/KeePass/Forms/EditAutoTypeItemForm.Designer.cs
Starting at line 4 of KeePass-2.56-Source/KeePass/Forms/HelpSourceForm.Designer.cs
Starting at line 4 of KeePass-2.56-Source/KeePass/Forms/IOConnectionForm.Designer.cs
Starting at line 4 of KeePass-2.56-Source/KeePass/Forms/KeyFileCreationForm.Designer.cs

{
		/// <summary>
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.IContainer components = null;

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
		protected override void Dispose(bool disposing)
		{
			if(disposing && (components != null))
			{
				components.Dispose();
			}
			base.Dispose(disposing);
		}

		#region Windows Form Designer generated code

		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.m_bannerImage = new System.Windows.Forms.PictureBox();
			this.m_btnOK = new System.Windows.Forms.Button();
			this.m_btnCancel = new System.Windows.Forms.Button();
			this.m_btnPrev = new System.Windows.Forms.Button();
	
=====================================================================
Found a 15 line (100 tokens) duplication in the following files: 
Starting at line 223 of KeePass-2.56-Source/KeePass/Forms/ImportMethodForm.Designer.cs
Starting at line 215 of KeePass-2.56-Source/KeePass/Forms/KeyFileCreationForm.Designer.cs

		this.Name = "ImportMethodForm";
			this.ShowInTaskbar = false;
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
			this.Text = "<DYN>";
			this.Load += new System.EventHandler(this.OnFormLoad);
			this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.OnFormClosed);
			((System.ComponentModel.ISupportInitialize)(this.m_bannerImage)).EndInit();
			this.ResumeLayout(false);
			this.PerformLayout();

		}

		#endregion

		private System.Windows.Forms.Button m_btnOK;
	
=====================================================================
Found a 15 line (100 tokens) duplication in the following files: 
Starting at line 23 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 91 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 135 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 182 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 283 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 318 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 479 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 595 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 675 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 710 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 751 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 789 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 875 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1033 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1169 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1219 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1284 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1334 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1372 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1407 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1515 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1550 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1585 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1650 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1694 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1735 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1779 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1861 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1920 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 2000 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 2041 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 2139 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 2288 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 2329 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 2436 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 2511 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 2562 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 2610 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 2737 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 2911 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3084 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3149 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3208 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3249 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3417 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3455 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3496 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs

			if(SkipEmptyElement(xr)) return o;

			Debug.Assert(xr.NodeType == XmlNodeType.Element);
			xr.ReadStartElement();
			xr.MoveToContent();

			while(true)
			{
				XmlNodeType nt = xr.NodeType;
				if((nt == XmlNodeType.EndElement) || (nt == XmlNodeType.None)) break;
				if(nt != XmlNodeType.Element) { Debug.Assert(false); xr.Skip(); continue; }

				switch(xr.LocalName)
				{
					case "Meta":

=====================================================================
Found a 13 line (100 tokens) duplication in the following files: 
Starting at line 1004 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1255 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 2708 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3334 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3361 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3388 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs

			List<KeePass.App.Configuration.AceKvp> l = new List<KeePass.App.Configuration.AceKvp>();

			if(SkipEmptyElement(xr)) return l.ToArray();

			Debug.Assert(xr.NodeType == XmlNodeType.Element);
			xr.ReadStartElement();
			xr.MoveToContent();

			while(true)
			{
				XmlNodeType nt = xr.NodeType;
				if((nt == XmlNodeType.EndElement) || (nt == XmlNodeType.None)) break;
				if(nt != XmlNodeType.Element) { Debug.Assert(false); xr.Skip(); continue; }

=====================================================================
Found a 15 line (100 tokens) duplication in the following files: 
Starting at line 1096 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 1123 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3039 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs
Starting at line 3120 of KeePass-2.56-Source/KeePass/Util/XmlSerialization/XmlSerializerEx.Gen.cs

			System.Collections.Generic.List<KeePassLib.Translation.KPStringTable> o = new System.Collections.Generic.List<KeePassLib.Translation.KPStringTable>();

			if(SkipEmptyElement(xr)) return o;

			Debug.Assert(xr.NodeType == XmlNodeType.Element);
			xr.ReadStartElement();
			xr.MoveToContent();

			while(true)
			{
				XmlNodeType nt = xr.NodeType;
				if((nt == XmlNodeType.EndElement) || (nt == XmlNodeType.None)) break;
				if(nt != XmlNodeType.Element) { Debug.Assert(false); xr.Skip(); continue; }

				KeePassLib.Translation.KPStringTable oElem = ReadKPStringTable(xr);

