< Summary

Line coverage
0%
Covered lines: 0
Uncovered lines: 9
Coverable lines: 9
Total lines: 35
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Cyclomatic complexity NPath complexity Sequence coverage
.ctor(...)100%110%

File(s)

https://raw.githubusercontent.com/dotnet/runtime/811a7eabb75c42db53440e8ba3f60c07511cfd1f/src/libraries/System.Reflection.Metadata/src/System/Reflection/PortableExecutable/DebugDirectory/CodeViewDebugDirectoryData.cs

#LineLine coverage
 1// Licensed to the .NET Foundation under one or more agreements.
 2// The .NET Foundation licenses this file to you under the MIT license.
 3
 4using System.Diagnostics;
 5
 6namespace System.Reflection.PortableExecutable
 7{
 8    public readonly struct CodeViewDebugDirectoryData
 9    {
 10        /// <summary>
 11        /// GUID (Globally Unique Identifier) of the associated PDB.
 12        /// </summary>
 013        public Guid Guid { get; }
 14
 15        /// <summary>
 16        /// Iteration of the PDB. The first iteration is 1. The iteration is incremented each time the PDB content is au
 17        /// </summary>
 018        public int Age { get; }
 19
 20        /// <summary>
 21        /// Path to the .pdb file containing debug information for the PE/COFF file.
 22        /// </summary>
 023        public string Path { get; }
 24
 25        internal CodeViewDebugDirectoryData(Guid guid, int age, string path)
 026        {
 027            Debug.Assert(path != null);
 28
 029            Path = path;
 030            Guid = guid;
 031            Age = age;
 032        }
 33    }
 34}
 35