< Summary

Class:NanoCLang.IllFormedException
Assembly:NanoCLang
File(s):C:\GitLab-Runner\builds\JxAESPd8\0\chenmichael\nanoc\src\NanoCLang\IllFormedException.cs
Covered lines:4
Uncovered lines:3
Coverable lines:7
Total lines:31
Line coverage:57.1% (4 of 7)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
get_Entity()100%1100%
.ctor(...)100%1100%
.ctor(...)100%10%

File(s)

C:\GitLab-Runner\builds\JxAESPd8\0\chenmichael\nanoc\src\NanoCLang\IllFormedException.cs

#LineLine coverage
 1using NanoCLang.Entities;
 2using System;
 3
 4namespace NanoCLang {
 5    /// <summary>
 6    /// Represents errors that occur during well-formedness checking.
 7    /// </summary>
 8    public class IllFormedException : Exception {
 9        /// <summary>
 10        /// Gets or sets the entity that is ill-formed.
 11        /// </summary>
 3412        public Base Entity { get; set; }
 13        /// <summary>
 14        /// Initializes a new instance of the <see cref="IllFormedException"/> class with a specified error <paramref na
 15        /// </summary>
 16        /// <param name="entity">Entity that raised the error.</param>
 17        /// <param name="message">The message that describes the error.</param>
 6818        public IllFormedException(Base entity, string message) : base(message) {
 3419            Entity = entity;
 3420        }
 21        /// <summary>
 22        /// Initializes a new instance of the <see cref="IllFormedException"/> class with a specified error <paramref na
 23        /// </summary>
 24        /// <param name="entity">Entity that raised the error.</param>
 25        /// <param name="message">The message that describes the error.</param>
 26        /// <param name="innerException">The exception that is the cause of the current exception, or a null reference</
 027        public IllFormedException(Base entity, string message, Exception innerException) : base(message, innerException)
 028            Entity = entity;
 029        }
 30    }
 31}

Methods/Properties

get_Entity()
.ctor(...)
.ctor(...)