Ejemplo n.º 1
0
		/// <summary>
		/// Constructor
		/// </summary>
		/// <param name="symDoc">A <see cref="ISymbolDocument"/> instance</param>
		public PdbDocument(ISymbolDocument symDoc) {
			if (symDoc == null)
				throw new ArgumentNullException("symDoc");
			this.Url = symDoc.URL;
			this.Language = symDoc.Language;
			this.LanguageVendor = symDoc.LanguageVendor;
			this.DocumentType = symDoc.DocumentType;
			this.CheckSumAlgorithmId = symDoc.CheckSumAlgorithmId;
			this.CheckSum = symDoc.GetCheckSum();
		}
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="symDoc">A <see cref="ISymbolDocument"/> instance</param>
 public PdbDocument(ISymbolDocument symDoc)
 {
     if (symDoc == null)
     {
         throw new ArgumentNullException("symDoc");
     }
     this.Url                 = symDoc.URL;
     this.Language            = symDoc.Language;
     this.LanguageVendor      = symDoc.LanguageVendor;
     this.DocumentType        = symDoc.DocumentType;
     this.CheckSumAlgorithmId = symDoc.CheckSumAlgorithmId;
     this.CheckSum            = symDoc.GetCheckSum();
 }