Пример #1
0
        public CompilationErrorArgs(CompilationError compilationError)
        {
            if (compilationError == null)
            {
                throw new ArgumentNullException(nameof(compilationError));
            }

            CompilationError = compilationError;
        }
Пример #2
0
 public CompilationErrorArgs(CompilationError compilationError)
 {
     CompilationError = compilationError ?? throw new ArgumentNullException(nameof(compilationError));
 }