private static void testStaticInfo_Security() { string securityFile = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Samples/securities_20140703.xml"); string fileContent = File.ReadAllText(securityFile, Encoding.UTF8); CodeTimer.CodeTimer.Initialize(); QuotV5.StaticInfo.SecurityInfoParser parser = new QuotV5.StaticInfo.SecurityInfoParser(); var securities = parser.Parse(fileContent); var sec150167 = securities.FirstOrDefault(s => s.CommonInfo.SecurityID == "150167"); CodeTimer.CodeTimer.Time("ParseSecurity", 10, () => { var ss = parser.Parse(fileContent); }); }