} // end constructor

        internal Microsoft.Diagnostics.Runtime.VersionInfo ToClrMdVersionInfo()
        {
            var vi = new Microsoft.Diagnostics.Runtime.VersionInfo();

            vi.Major    = FileVersion.Major;
            vi.Minor    = FileVersion.Minor;
            vi.Revision = FileVersion.Build;
            vi.Patch    = FileVersion.Revision;
            return(vi);
        } // end ToClrMdVersionInfo()
Exemplo n.º 2
0
 /// <summary>
 /// Convert from CLRMD VersionInfo to DebugServices VersionData
 /// </summary>
 public static VersionData ToVersionData(this Microsoft.Diagnostics.Runtime.VersionInfo versionInfo)
 {
     return(new VersionData(versionInfo.Major, versionInfo.Minor, versionInfo.Revision, versionInfo.Patch));
 }