Пример #1
0
 internal Error(int errorCode, string description, Microsoft.Compiler.VisualBasic.SourceLocation sourceLocation)
 {
     if (string.IsNullOrEmpty(description))
     {
         throw new ArgumentNullException("description");
     }
     if (sourceLocation == null)
     {
         sourceLocation = new Microsoft.Compiler.VisualBasic.SourceLocation(0, 0, 0, 0);
     }
     this.m_errorCode      = errorCode;
     this.m_description    = description;
     this.m_sourceLocation = sourceLocation;
 }
 internal Error(int errorCode, string description, Microsoft.Compiler.VisualBasic.SourceLocation sourceLocation)
 {
     if (string.IsNullOrEmpty(description))
     {
         throw new ArgumentNullException("description");
     }
     if (sourceLocation == null)
     {
         sourceLocation = new Microsoft.Compiler.VisualBasic.SourceLocation(0, 0, 0, 0);
     }
     this.m_errorCode = errorCode;
     this.m_description = description;
     this.m_sourceLocation = sourceLocation;
 }