Example #1
0
 public CodeCoverageMethod(string className, CodeCoverageMethodElement element)
     : this(element.MethodName, className)
 {
     IsProperty = element.IsProperty && IsPropertyMethodName();
     IsGetter   = element.IsGetter;
     IsSetter   = element.IsSetter;
 }
		public CodeCoverageMethod(string className, CodeCoverageMethodElement element)
			: this(element.MethodName, className)
		{
			IsProperty = element.IsProperty && IsPropertyMethodName();
			IsGetter = element.IsGetter;
			IsSetter = element.IsSetter;
		}
        public CodeCoverageMethod(string className, CodeCoverageMethodElement element)
            : this(element.MethodName, className)
        {
            IsProperty = element.IsProperty && IsPropertyMethodName();
            IsGetter   = element.IsGetter;
            IsSetter   = element.IsSetter;

            this.IsVisited           = element.IsVisited;
            this.BranchCoverage      = element.BranchCoverage;
            this.SequencePointsCount = element.SequencePointsCount;
            this.sequencePoints      = element.SequencePoints;
            this.FileID = element.FileID;
        }
		public CodeCoverageMethod(string className, CodeCoverageMethodElement element)
			: this(element.MethodName, className)
		{
			IsProperty = element.IsProperty && IsPropertyMethodName();
			IsGetter = element.IsGetter;
			IsSetter = element.IsSetter;

			this.IsVisited = element.IsVisited;
			this.BranchCoverage = element.BranchCoverage;
			this.SequencePointsCount = element.SequencePointsCount;
			this.sequencePoints = element.SequencePoints;
			this.FileID = element.FileID;
		}