diff --git a/src/Dependencies/Dependencies.sln b/src/Dependencies/Dependencies.sln index 404d7c63694270efcd0fbbfbe47c2d51b2e37493..2f24384408c34fe52d884d7d3419504c7449ce3c 100644 --- a/src/Dependencies/Dependencies.sln +++ b/src/Dependencies/Dependencies.sln @@ -3,51 +3,12 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 14 VisualStudioVersion = 14.0.25123.0 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Microsoft.DiaSymReader", "Microsoft.DiaSymReader\Microsoft.DiaSymReader.shproj", "{F9127F0F-95C8-4576-8081-96E004C1652F}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.DiaSymReader.NetFX20", "Microsoft.DiaSymReader\NetFX20\Microsoft.DiaSymReader.NetFX20.csproj", "{FA2C8969-BD1F-457A-A6E3-CA772135FF73}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.DiaSymReader.Portable", "Microsoft.DiaSymReader\Portable\Microsoft.DiaSymReader.Portable.csproj", "{316FD2AD-8514-41BD-98D5-61A821F3320E}" -EndProject Global GlobalSection(SharedMSBuildProjectFiles) = preSolution - Microsoft.DiaSymReader\Microsoft.DiaSymReader.projitems*{fa2c8969-bd1f-457a-a6e3-ca772135ff73}*SharedItemsImports = 4 - Microsoft.DiaSymReader\Microsoft.DiaSymReader.projitems*{316fd2ad-8514-41bd-98d5-61a821f3320e}*SharedItemsImports = 4 - Microsoft.DiaSymReader\Microsoft.DiaSymReader.projitems*{f9127f0f-95c8-4576-8081-96e004c1652f}*SharedItemsImports = 13 EndGlobalSection GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|ARM = Debug|ARM - Debug|Mixed Platforms = Debug|Mixed Platforms - Release|Any CPU = Release|Any CPU - Release|ARM = Release|ARM - Release|Mixed Platforms = Release|Mixed Platforms EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {FA2C8969-BD1F-457A-A6E3-CA772135FF73}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {FA2C8969-BD1F-457A-A6E3-CA772135FF73}.Debug|Any CPU.Build.0 = Debug|Any CPU - {FA2C8969-BD1F-457A-A6E3-CA772135FF73}.Debug|ARM.ActiveCfg = Debug|Any CPU - {FA2C8969-BD1F-457A-A6E3-CA772135FF73}.Debug|ARM.Build.0 = Debug|Any CPU - {FA2C8969-BD1F-457A-A6E3-CA772135FF73}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {FA2C8969-BD1F-457A-A6E3-CA772135FF73}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {FA2C8969-BD1F-457A-A6E3-CA772135FF73}.Release|Any CPU.ActiveCfg = Release|Any CPU - {FA2C8969-BD1F-457A-A6E3-CA772135FF73}.Release|Any CPU.Build.0 = Release|Any CPU - {FA2C8969-BD1F-457A-A6E3-CA772135FF73}.Release|ARM.ActiveCfg = Release|Any CPU - {FA2C8969-BD1F-457A-A6E3-CA772135FF73}.Release|ARM.Build.0 = Release|Any CPU - {FA2C8969-BD1F-457A-A6E3-CA772135FF73}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {FA2C8969-BD1F-457A-A6E3-CA772135FF73}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {316FD2AD-8514-41BD-98D5-61A821F3320E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {316FD2AD-8514-41BD-98D5-61A821F3320E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {316FD2AD-8514-41BD-98D5-61A821F3320E}.Debug|ARM.ActiveCfg = Debug|Any CPU - {316FD2AD-8514-41BD-98D5-61A821F3320E}.Debug|ARM.Build.0 = Debug|Any CPU - {316FD2AD-8514-41BD-98D5-61A821F3320E}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {316FD2AD-8514-41BD-98D5-61A821F3320E}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {316FD2AD-8514-41BD-98D5-61A821F3320E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {316FD2AD-8514-41BD-98D5-61A821F3320E}.Release|Any CPU.Build.0 = Release|Any CPU - {316FD2AD-8514-41BD-98D5-61A821F3320E}.Release|ARM.ActiveCfg = Release|Any CPU - {316FD2AD-8514-41BD-98D5-61A821F3320E}.Release|ARM.Build.0 = Release|Any CPU - {316FD2AD-8514-41BD-98D5-61A821F3320E}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {316FD2AD-8514-41BD-98D5-61A821F3320E}.Release|Mixed Platforms.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/src/Dependencies/Microsoft.DiaSymReader/IMetadataImportProvider.cs b/src/Dependencies/Microsoft.DiaSymReader/IMetadataImportProvider.cs deleted file mode 100644 index a57715d29c9176732fa199507b03ec01af10b480..0000000000000000000000000000000000000000 --- a/src/Dependencies/Microsoft.DiaSymReader/IMetadataImportProvider.cs +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System; -using System.Runtime.InteropServices; - -namespace Microsoft.DiaSymReader -{ - [ComImport] - [Guid("EDF3A293-A10D-4F4A-A609-38D5EDE35F89")] - [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] - [ComVisible(false)] - public interface IMetadataImportProvider - { - /// - /// Gets an instance of IMetadataImport. - /// - /// - /// The implementer is responsible for managing the lifetime of the resulting object. - /// - [return: MarshalAs(UnmanagedType.Interface)] - object GetMetadataImport(); - } -} diff --git a/src/Dependencies/Microsoft.DiaSymReader/ISymEncUnmanagedMethod.cs b/src/Dependencies/Microsoft.DiaSymReader/ISymEncUnmanagedMethod.cs deleted file mode 100644 index 34e1d08a66864b500ff998cdc77f6de8110de1cf..0000000000000000000000000000000000000000 --- a/src/Dependencies/Microsoft.DiaSymReader/ISymEncUnmanagedMethod.cs +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System; -using System.Runtime.InteropServices; -using System.Text; - -namespace Microsoft.DiaSymReader -{ - [ComImport] - [Guid("85E891DA-A631-4c76-ACA2-A44A39C46B8C")] - [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] - [ComVisible(false)] - public interface ISymEncUnmanagedMethod - { - /// - /// Get the file name for the line associated with offset dwOffset. - /// - [PreserveSig] - int GetFileNameFromOffset( - int offset, - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] char[] name); - - /// - /// Get the Line information associated with . - /// - /// - /// If is not a sequence point it is associated with the previous one. - /// provides the associated sequence point. - /// - [PreserveSig] - int GetLineFromOffset( - int offset, - out int startLine, - out int startColumn, - out int endLine, - out int endColumn, - out int sequencePointOffset); - - /// - /// Get the number of Documents that this method has lines in. - /// - [PreserveSig] - int GetDocumentsForMethodCount(out int count); - - /// - /// Get the documents this method has lines in. - /// - [PreserveSig] - int GetDocumentsForMethod( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)]ISymUnmanagedDocument[] documents); - - /// - /// Get the smallest start line and largest end line, for the method, in a specific document. - /// - [PreserveSig] - int GetSourceExtentInDocument(ISymUnmanagedDocument document, out int startLine, out int endLine); - } -} \ No newline at end of file diff --git a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedAsyncMethod.cs b/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedAsyncMethod.cs deleted file mode 100644 index 19c7c2f39087e947111476c7f5f5f48c5a107fc3..0000000000000000000000000000000000000000 --- a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedAsyncMethod.cs +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System; -using System.Runtime.InteropServices; - -namespace Microsoft.DiaSymReader -{ - [ComImport] - [Guid("B20D55B3-532E-4906-87E7-25BD5734ABD2")] - [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] - [ComVisible(false)] - public interface ISymUnmanagedAsyncMethod - { - [PreserveSig] - int IsAsyncMethod([MarshalAs(UnmanagedType.Bool)]out bool value); - - [PreserveSig] - int GetKickoffMethod(out int kickoffMethodToken); - - [PreserveSig] - int HasCatchHandlerILOffset([MarshalAs(UnmanagedType.Bool)]out bool offset); - - [PreserveSig] - int GetCatchHandlerILOffset(out int offset); - - [PreserveSig] - int GetAsyncStepInfoCount(out int count); - - [PreserveSig] - int GetAsyncStepInfo( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] int[] yieldOffsets, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] int[] breakpointOffset, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] int[] breakpointMethod); - } -} diff --git a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedBinder.cs b/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedBinder.cs deleted file mode 100644 index 6a6520b5aa1f84efc69330583efd431fac68714b..0000000000000000000000000000000000000000 --- a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedBinder.cs +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System; -using System.Runtime.InteropServices; - -namespace Microsoft.DiaSymReader -{ - [ComImport] - [Guid("AA544D42-28CB-11d3-BD22-0000F80849BD")] - [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] - [ComVisible(false)] - public interface ISymUnmanagedBinder - { - /// - /// Given a metadata interface and a file name, returns a new instance of - /// that will read the debugging symbols associated with the specified PE file. - /// - /// An instance of IMetadataImport providing metadata for the specified PE file. - /// PE file path. - /// Alternate path to search for debug data. - /// The new reader instance. - [PreserveSig] - int GetReaderForFile( - [MarshalAs(UnmanagedType.Interface)]object metadataImporter, - [MarshalAs(UnmanagedType.LPWStr)]string fileName, - [MarshalAs(UnmanagedType.LPWStr)]string searchPath, - [MarshalAs(UnmanagedType.Interface)]out ISymUnmanagedReader reader); - - /// - /// Given a metadata interface and a stream that contains - /// the symbol store, returns the - /// that will read the debugging symbols from the given - /// symbol store. - /// - /// An instance of IMetadataImport providing metadata for the corresponding PE file. - /// PDB stream. - /// The new reader instance. - [PreserveSig] - int GetReaderFromStream( - [MarshalAs(UnmanagedType.Interface)]object metadataImporter, - [MarshalAs(UnmanagedType.Interface)]object stream, - [MarshalAs(UnmanagedType.Interface)]out ISymUnmanagedReader reader); - }; -} \ No newline at end of file diff --git a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedBinder2.cs b/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedBinder2.cs deleted file mode 100644 index bbb96cfa035806f83c200fc64c479540a728e478..0000000000000000000000000000000000000000 --- a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedBinder2.cs +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System; -using System.Runtime.InteropServices; - -namespace Microsoft.DiaSymReader -{ - [ComImport] - [Guid("ACCEE350-89AF-4ccb-8B40-1C2C4C6F9434")] - [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] - [ComVisible(false)] - public interface ISymUnmanagedBinder2 : ISymUnmanagedBinder - { - #region ISymUnmanagedBinder methods - - /// - /// Given a metadata interface and a file name, returns the - /// correct that will read the debugging symbols - /// associated with the module. - /// - /// An instance of IMetadataImport providing metadata for the specified PE file. - /// PE file path. - /// Alternate path to search for debug data. - /// The new reader instance. - [PreserveSig] - new int GetReaderForFile( - [MarshalAs(UnmanagedType.Interface)]object metadataImporter, - [MarshalAs(UnmanagedType.LPWStr)]string fileName, - [MarshalAs(UnmanagedType.LPWStr)]string searchPath, - [MarshalAs(UnmanagedType.Interface)]out ISymUnmanagedReader reader); - - /// - /// Given a metadata interface and a stream that contains - /// the symbol store, returns the - /// that will read the debugging symbols from the given - /// symbol store. - /// - /// An instance of IMetadataImport providing metadata for the corresponding PE file. - /// PDB stream. - /// The new reader instance. - [PreserveSig] - new int GetReaderFromStream( - [MarshalAs(UnmanagedType.Interface)]object metadataImporter, - [MarshalAs(UnmanagedType.Interface)]object stream, - [MarshalAs(UnmanagedType.Interface)]out ISymUnmanagedReader reader); - - #endregion - - /// - /// Given a metadata interface and a file name, returns the - /// interface that will read the debugging symbols associated - /// with the module. - /// - /// - /// This version of the function can search for the PDB in areas other than - /// right next to the module, controlled by the . - /// If a is provided, those directories will always be searched. - /// - /// An instance of IMetadataImport providing metadata for the specified PE file. - /// PE file path. - /// Alternate path to search for debug data. - /// Search policy. - /// The new reader instance. - [PreserveSig] - int GetReaderForFile2( - [MarshalAs(UnmanagedType.Interface)]object metadataImporter, - [MarshalAs(UnmanagedType.LPWStr)]string fileName, - [MarshalAs(UnmanagedType.LPWStr)]string searchPath, - SymUnmanagedSearchPolicy searchPolicy, - [MarshalAs(UnmanagedType.Interface)]out ISymUnmanagedReader reader); - } -} diff --git a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedBinder3.cs b/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedBinder3.cs deleted file mode 100644 index ae300e719d8d976e8931db7818a9035b3173c90c..0000000000000000000000000000000000000000 --- a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedBinder3.cs +++ /dev/null @@ -1,85 +0,0 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System; -using System.Runtime.InteropServices; - -namespace Microsoft.DiaSymReader -{ - [ComImport] - [Guid("28AD3D43-B601-4d26-8A1B-25F9165AF9D7")] - [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] - [ComVisible(false)] - public interface ISymUnmanagedBinder3 : ISymUnmanagedBinder2 - { - #region ISymUnmanagedBinder methods - - /// - /// Given a metadata interface and a file name, returns the - /// correct that will read the debugging symbols - /// associated with the module. - /// - /// An instance of IMetadataImport providing metadata for the specified PE file. - /// PE file path. - /// Alternate path to search for debug data. - /// The new reader instance. - [PreserveSig] - new int GetReaderForFile( - [MarshalAs(UnmanagedType.Interface)]object metadataImporter, - [MarshalAs(UnmanagedType.LPWStr)]string fileName, - [MarshalAs(UnmanagedType.LPWStr)]string searchPath, - [MarshalAs(UnmanagedType.Interface)]out ISymUnmanagedReader reader); - - /// - /// Given a metadata interface and a stream that contains - /// the symbol store, returns the - /// that will read the debugging symbols from the given - /// symbol store. - /// - /// An instance of IMetadataImport providing metadata for the corresponding PE file. - /// PDB stream. - /// The new reader instance. - [PreserveSig] - new int GetReaderFromStream( - [MarshalAs(UnmanagedType.Interface)]object metadataImporter, - [MarshalAs(UnmanagedType.Interface)]object stream, - [MarshalAs(UnmanagedType.Interface)]out ISymUnmanagedReader reader); - - #endregion - - #region ISymUnmanagedBinder2 methods - - /// - /// Given a metadata interface and a file name, returns the - /// interface that will read the debugging symbols associated - /// with the module. - /// - /// - /// This version of the function can search for the PDB in areas other than - /// right next to the module, controlled by the . - /// If a is provided, those directories will always be searched. - /// - /// An instance of IMetadataImport providing metadata for the specified PE file. - /// PE file path. - /// Alternate path to search for debug data. - /// Search policy. - /// The new reader instance. - [PreserveSig] - new int GetReaderForFile2( - [MarshalAs(UnmanagedType.Interface)]object metadataImporter, - [MarshalAs(UnmanagedType.LPWStr)]string fileName, - [MarshalAs(UnmanagedType.LPWStr)]string searchPath, - SymUnmanagedSearchPolicy searchPolicy, - [MarshalAs(UnmanagedType.Interface)]out ISymUnmanagedReader reader); - - #endregion - - [PreserveSig] - int GetReaderFromCallback( - [In, MarshalAs(UnmanagedType.Interface)] object metadataImporter, - [MarshalAs(UnmanagedType.LPWStr)]string fileName, - [MarshalAs(UnmanagedType.LPWStr)]string searchPath, - SymUnmanagedSearchPolicy searchPolicy, - [In, MarshalAs(UnmanagedType.Interface)] object callback, - [MarshalAs(UnmanagedType.Interface)]out ISymUnmanagedReader reader); - } -} diff --git a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedBinder4.cs b/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedBinder4.cs deleted file mode 100644 index 7516fb4e67ebcdfa7d21f87644f1e0370a05ab9d..0000000000000000000000000000000000000000 --- a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedBinder4.cs +++ /dev/null @@ -1,137 +0,0 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System; -using System.Runtime.InteropServices; - -namespace Microsoft.DiaSymReader -{ - [ComImport] - [Guid("F1DC5735-F877-48C9-BBE7-2A5486E84D7C")] - [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] - [ComVisible(false)] - public interface ISymUnmanagedBinder4 : ISymUnmanagedBinder3 - { - #region ISymUnmanagedBinder methods - - /// - /// Given a metadata interface and a file name, returns the - /// correct that will read the debugging symbols - /// associated with the module. - /// - /// An instance of IMetadataImport providing metadata for the specified PE file. - /// PE file path. - /// Alternate path to search for debug data. - /// The new reader instance. - [PreserveSig] - new int GetReaderForFile( - [MarshalAs(UnmanagedType.Interface)]object metadataImporter, - [MarshalAs(UnmanagedType.LPWStr)]string fileName, - [MarshalAs(UnmanagedType.LPWStr)]string searchPath, - [MarshalAs(UnmanagedType.Interface)]out ISymUnmanagedReader reader); - - /// - /// Given a metadata interface and a stream that contains - /// the symbol store, returns the - /// that will read the debugging symbols from the given - /// symbol store. - /// - /// An instance of IMetadataImport providing metadata for the corresponding PE file. - /// PDB stream. - /// The new reader instance. - [PreserveSig] - new int GetReaderFromStream( - [MarshalAs(UnmanagedType.Interface)]object metadataImporter, - [MarshalAs(UnmanagedType.Interface)]object stream, - [MarshalAs(UnmanagedType.Interface)]out ISymUnmanagedReader reader); - - #endregion - - #region ISymUnmanagedBinder2 methods - - /// - /// Given a metadata interface and a file name, returns the - /// interface that will read the debugging symbols associated - /// with the module. - /// - /// - /// This version of the function can search for the PDB in areas other than - /// right next to the module, controlled by the . - /// If a is provided, those directories will always be searched. - /// - /// An instance of IMetadataImport providing metadata for the specified PE file. - /// PE file path. - /// Alternate path to search for debug data. - /// Search policy. - /// The new reader instance. - [PreserveSig] - new int GetReaderForFile2( - [MarshalAs(UnmanagedType.Interface)]object metadataImporter, - [MarshalAs(UnmanagedType.LPWStr)]string fileName, - [MarshalAs(UnmanagedType.LPWStr)]string searchPath, - SymUnmanagedSearchPolicy searchPolicy, - [MarshalAs(UnmanagedType.Interface)]out ISymUnmanagedReader reader); - - #endregion - - #region ISymUnmanagedBinder3 methods - - [PreserveSig] - new int GetReaderFromCallback( - [In, MarshalAs(UnmanagedType.Interface)] object metadataImporter, - [MarshalAs(UnmanagedType.LPWStr)]string fileName, - [MarshalAs(UnmanagedType.LPWStr)]string searchPath, - SymUnmanagedSearchPolicy searchPolicy, - [In, MarshalAs(UnmanagedType.Interface)] object callback, // IDiaLoadCallback(2) - [MarshalAs(UnmanagedType.Interface)]out ISymUnmanagedReader reader); - - #endregion - - #region ISymUnmanagedBinder4 methods - - /// - /// Creates a new for the specified PDB file. - /// - /// - /// Provider of a metadata importer for the corresponding PE file. - /// The importer is only constructed if the operation performed on the SymReader requires access - /// to the metadata. - /// - /// PDB file path. - /// The new reader instance. - /// - /// E_INVALIDARG - /// is null, or - /// is null or empty. - /// Another error code describing failure to open the file. - /// - [PreserveSig] - int GetReaderFromPdbFile( - [MarshalAs(UnmanagedType.Interface)]IMetadataImportProvider metadataImportProvider, - [MarshalAs(UnmanagedType.LPWStr)]string pdbFilePath, - [MarshalAs(UnmanagedType.Interface)]out ISymUnmanagedReader reader); - - /// - /// Creates a new for the specified PDB file. - /// - /// - /// Provider of a metadata importer for the corresponding PE file. - /// The importer is only constructed if the operation performed on the SymReader requires access - /// to the metadata. - /// - /// PDB stream. - /// The new reader instance. - /// - /// E_INVALIDARG - /// is null, or - /// is null. - /// Another error code describing failure to open the file. - /// - [PreserveSig] - int GetReaderFromPdbStream( - [MarshalAs(UnmanagedType.Interface)]IMetadataImportProvider metadataImportProvider, - [MarshalAs(UnmanagedType.Interface)]object stream, - [MarshalAs(UnmanagedType.Interface)]out ISymUnmanagedReader reader); - - #endregion - } -} diff --git a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedConstant.cs b/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedConstant.cs deleted file mode 100644 index d4d4c98368314123196ffe6c228d818aaa3c6e4d..0000000000000000000000000000000000000000 --- a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedConstant.cs +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System; -using System.Runtime.InteropServices; -using System.Text; - -namespace Microsoft.DiaSymReader -{ - [ComImport] - [Guid("48B25ED8-5BAD-41bc-9CEE-CD62FABC74E9")] - [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] - [ComVisible(false)] - public interface ISymUnmanagedConstant - { - [PreserveSig] - int GetName( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] char[] name); - - [PreserveSig] - int GetValue(out object value); - - [PreserveSig] - int GetSignature( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] byte[] signature); - } -} diff --git a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedDispose.cs b/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedDispose.cs deleted file mode 100644 index cc986050fb3cb79434f8f188bf2f07a92a9f33b0..0000000000000000000000000000000000000000 --- a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedDispose.cs +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System; -using System.Runtime.InteropServices; - -namespace Microsoft.DiaSymReader -{ - [ComImport] - [Guid("969708D2-05E5-4861-A3B0-96E473CDF63F")] - [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] - [ComVisible(false)] - public interface ISymUnmanagedDispose - { - [PreserveSig] - int Destroy(); - } -} diff --git a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedDocument.cs b/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedDocument.cs deleted file mode 100644 index 262156ec00ad5e895cb1258960d51faea2f0e251..0000000000000000000000000000000000000000 --- a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedDocument.cs +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System; -using System.Runtime.InteropServices; -using System.Text; - -namespace Microsoft.DiaSymReader -{ - [ComImport] - [ComVisible(false)] - [Guid("40DE4037-7C81-3E1E-B022-AE1ABFF2CA08")] - [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] - public interface ISymUnmanagedDocument - { - [PreserveSig] - int GetUrl( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] char[] url); - - [PreserveSig] - int GetDocumentType(ref Guid documentType); - - [PreserveSig] - int GetLanguage(ref Guid language); - - [PreserveSig] - int GetLanguageVendor(ref Guid vendor); - - [PreserveSig] - int GetChecksumAlgorithmId(ref Guid algorithm); - - [PreserveSig] - int GetChecksum( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] byte[] checksum); - - [PreserveSig] - int FindClosestLine(int line, out int closestLine); - - [PreserveSig] - int HasEmbeddedSource([MarshalAs(UnmanagedType.Bool)]out bool value); - - [PreserveSig] - int GetSourceLength(out int length); - - [PreserveSig] - int GetSourceRange( - int startLine, - int startColumn, - int endLine, - int endColumn, - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 4)] byte[] source); - } -} diff --git a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedMethod.cs b/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedMethod.cs deleted file mode 100644 index dec7b519a9535b89bb931cc6fccff0a7d51a9f8b..0000000000000000000000000000000000000000 --- a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedMethod.cs +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System; -using System.Runtime.InteropServices; - -namespace Microsoft.DiaSymReader -{ - [ComImport] - [Guid("B62B923C-B500-3158-A543-24F307A8B7E1")] - [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] - [ComVisible(false)] - public interface ISymUnmanagedMethod - { - [PreserveSig] - int GetToken(out int methodToken); - - [PreserveSig] - int GetSequencePointCount(out int count); - - [PreserveSig] - int GetRootScope([MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedScope scope); - - [PreserveSig] - int GetScopeFromOffset(int offset, [MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedScope scope); - - /// - /// Gets the IL offset within the method that corresponds to the specified position. - /// - /// The document for which the offset is requested. - /// The document line corresponding to the offset. - /// The document column corresponding to the offset. - /// The offset within the specified document. - /// HResult. - [PreserveSig] - int GetOffset(ISymUnmanagedDocument document, int line, int column, out int offset); - - /// - /// Gets an array of start and end offset pairs that correspond to the ranges of IL that a given position covers within this method. - /// - [PreserveSig] - int GetRanges( - ISymUnmanagedDocument document, - int line, - int column, - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 3)] int[] ranges); - - /// - /// Gets method parameters. - /// - [PreserveSig] - int GetParameters( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] ISymUnmanagedVariable[] parameters); - - [PreserveSig] - int GetNamespace([MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedNamespace @namespace); - - /// - /// Gets the start and end positions for the source of the current method. - /// - /// The starting and ending source documents. - /// The starting and ending lines in the corresponding source documents. - /// The starting and ending columns in the corresponding source documents. - /// true if the positions were defined; otherwise, false. - /// HResult - [PreserveSig] - int GetSourceStartEnd( - ISymUnmanagedDocument[] documents, - [In, Out, MarshalAs(UnmanagedType.LPArray)] int[] lines, - [In, Out, MarshalAs(UnmanagedType.LPArray)] int[] columns, - [MarshalAs(UnmanagedType.Bool)]out bool defined); - - [PreserveSig] - int GetSequencePoints( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] int[] offsets, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] ISymUnmanagedDocument[] documents, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] int[] startLines, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] int[] startColumns, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] int[] endLines, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] int[] endColumns); - } -} diff --git a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedNamespace.cs b/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedNamespace.cs deleted file mode 100644 index c73221931058021e4538cb3bf21166fa79ef7f4e..0000000000000000000000000000000000000000 --- a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedNamespace.cs +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System; -using System.Runtime.InteropServices; -using System.Text; - -namespace Microsoft.DiaSymReader -{ - [ComImport] - [Guid("0DFF7289-54F8-11d3-BD28-0000F80849BD")] - [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] - [ComVisible(false)] - public interface ISymUnmanagedNamespace - { - [PreserveSig] - int GetName( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] char[] name); - - [PreserveSig] - int GetNamespaces( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] ISymUnmanagedNamespace[] namespaces); - - [PreserveSig] - int GetVariables( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] ISymUnmanagedVariable[] variables); - } -} diff --git a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedReader.cs b/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedReader.cs deleted file mode 100644 index 18e6b785d35e244e47e39033993e43f1dbf759dc..0000000000000000000000000000000000000000 --- a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedReader.cs +++ /dev/null @@ -1,109 +0,0 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System; -using System.Runtime.InteropServices; -using System.Runtime.InteropServices.ComTypes; - -namespace Microsoft.DiaSymReader -{ - [ComImport] - [Guid("B4CE6286-2A6B-3712-A3B7-1EE1DAD467B5")] - [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] - [ComVisible(false)] - public interface ISymUnmanagedReader - { - [PreserveSig] - int GetDocument( - [MarshalAs(UnmanagedType.LPWStr)] string url, - Guid language, - Guid languageVendor, - Guid documentType, - [MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedDocument document); - - [PreserveSig] - int GetDocuments( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] ISymUnmanagedDocument[] documents); - - [PreserveSig] - int GetUserEntryPoint(out int methodToken); - - [PreserveSig] - int GetMethod(int methodToken, [MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedMethod method); - - [PreserveSig] - int GetMethodByVersion( - int methodToken, - int version, - [MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedMethod method); - - [PreserveSig] - int GetVariables( - int methodToken, - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 1)] ISymUnmanagedVariable[] variables); - - [PreserveSig] - int GetGlobalVariables( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] ISymUnmanagedVariable[] variables); - - [PreserveSig] - int GetMethodFromDocumentPosition( - ISymUnmanagedDocument document, - int line, - int column, - [MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedMethod method); - - [PreserveSig] - int GetSymAttribute( - int methodToken, - [MarshalAs(UnmanagedType.LPWStr)] string name, - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)] byte[] customDebugInformation); - - [PreserveSig] - int GetNamespaces( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] ISymUnmanagedNamespace[] namespaces); - - [PreserveSig] - int Initialize( - [MarshalAs(UnmanagedType.Interface)] object metadataImporter, - [MarshalAs(UnmanagedType.LPWStr)] string fileName, - [MarshalAs(UnmanagedType.LPWStr)] string searchPath, - IStream stream); - - [PreserveSig] - int UpdateSymbolStore([MarshalAs(UnmanagedType.LPWStr)] string fileName, IStream stream); - - [PreserveSig] - int ReplaceSymbolStore([MarshalAs(UnmanagedType.LPWStr)] string fileName, IStream stream); - - [PreserveSig] - int GetSymbolStoreFileName( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] char[] name); - - [PreserveSig] - int GetMethodsFromDocumentPosition( - ISymUnmanagedDocument document, - int line, - int column, - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 3)] ISymUnmanagedMethod[] methods); - - [PreserveSig] - int GetDocumentVersion(ISymUnmanagedDocument document, out int version, [MarshalAs(UnmanagedType.Bool)]out bool isCurrent); - - [PreserveSig] - int GetMethodVersion(ISymUnmanagedMethod method, out int version); - } -} diff --git a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedReader2.cs b/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedReader2.cs deleted file mode 100644 index c5f67850424ffdf446857c94e3e965d664a87954..0000000000000000000000000000000000000000 --- a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedReader2.cs +++ /dev/null @@ -1,138 +0,0 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System; -using System.Runtime.InteropServices; -using System.Runtime.InteropServices.ComTypes; - -namespace Microsoft.DiaSymReader -{ - [ComImport] - [Guid("A09E53B2-2A57-4cca-8F63-B84F7C35D4AA")] - [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] - [ComVisible(false)] - public interface ISymUnmanagedReader2 : ISymUnmanagedReader - { - #region ISymUnmanagedReader methods - - [PreserveSig] - new int GetDocument( - [MarshalAs(UnmanagedType.LPWStr)] string url, - Guid language, - Guid languageVendor, - Guid documentType, - [MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedDocument document); - - [PreserveSig] - new int GetDocuments( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] ISymUnmanagedDocument[] documents); - - [PreserveSig] - new int GetUserEntryPoint(out int methodToken); - - [PreserveSig] - new int GetMethod(int methodToken, [MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedMethod method); - - [PreserveSig] - new int GetMethodByVersion( - int methodToken, - int version, - [MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedMethod method); - - [PreserveSig] - new int GetVariables( - int methodToken, - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 1)] ISymUnmanagedVariable[] variables); - - [PreserveSig] - new int GetGlobalVariables( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] ISymUnmanagedVariable[] variables); - - [PreserveSig] - new int GetMethodFromDocumentPosition( - ISymUnmanagedDocument document, - int line, - int column, - [MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedMethod method); - - [PreserveSig] - new int GetSymAttribute( - int methodToken, - [MarshalAs(UnmanagedType.LPWStr)] string name, - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)] byte[] customDebugInformation); - - [PreserveSig] - new int GetNamespaces( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] ISymUnmanagedNamespace[] namespaces); - - [PreserveSig] - new int Initialize( - [MarshalAs(UnmanagedType.Interface)] object metadataImporter, - [MarshalAs(UnmanagedType.LPWStr)] string fileName, - [MarshalAs(UnmanagedType.LPWStr)] string searchPath, - IStream stream); - - [PreserveSig] - new int UpdateSymbolStore([MarshalAs(UnmanagedType.LPWStr)] string fileName, IStream stream); - - [PreserveSig] - new int ReplaceSymbolStore([MarshalAs(UnmanagedType.LPWStr)] string fileName, IStream stream); - - [PreserveSig] - new int GetSymbolStoreFileName( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] char[] name); - - [PreserveSig] - new int GetMethodsFromDocumentPosition( - ISymUnmanagedDocument document, - int line, - int column, - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 3)] ISymUnmanagedMethod[] methods); - - [PreserveSig] - new int GetDocumentVersion(ISymUnmanagedDocument document, out int version, [MarshalAs(UnmanagedType.Bool)]out bool isCurrent); - - [PreserveSig] - new int GetMethodVersion(ISymUnmanagedMethod method, out int version); - - #endregion - - #region ISymUnmanagedReader2 methods - - [PreserveSig] - int GetMethodByVersionPreRemap( - int methodToken, - int version, - [MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedMethod method); - - [PreserveSig] - int GetSymAttributePreRemap( - int methodToken, - [MarshalAs(UnmanagedType.LPWStr)] string name, - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)] byte[] customDebugInformation); - - [PreserveSig] - int GetMethodsInDocument( - ISymUnmanagedDocument document, - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 1)] ISymUnmanagedMethod[] methods); - - #endregion - } -} diff --git a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedReader3.cs b/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedReader3.cs deleted file mode 100644 index 64665c35d40890df24a0af4871890121f1950569..0000000000000000000000000000000000000000 --- a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedReader3.cs +++ /dev/null @@ -1,166 +0,0 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System; -using System.Runtime.InteropServices; -using System.Runtime.InteropServices.ComTypes; - -namespace Microsoft.DiaSymReader -{ - [ComImport] - [Guid("6151CAD9-E1EE-437A-A808-F64838C0D046")] - [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] - [ComVisible(false)] - public interface ISymUnmanagedReader3 : ISymUnmanagedReader2 - { - #region ISymUnmanagedReader methods - - [PreserveSig] - new int GetDocument( - [MarshalAs(UnmanagedType.LPWStr)] string url, - Guid language, - Guid languageVendor, - Guid documentType, - [MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedDocument document); - - [PreserveSig] - new int GetDocuments( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] ISymUnmanagedDocument[] documents); - - [PreserveSig] - new int GetUserEntryPoint(out int methodToken); - - [PreserveSig] - new int GetMethod(int methodToken, [MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedMethod method); - - [PreserveSig] - new int GetMethodByVersion( - int methodToken, - int version, - [MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedMethod method); - - [PreserveSig] - new int GetVariables( - int methodToken, - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 1)] ISymUnmanagedVariable[] variables); - - [PreserveSig] - new int GetGlobalVariables( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] ISymUnmanagedVariable[] variables); - - [PreserveSig] - new int GetMethodFromDocumentPosition( - ISymUnmanagedDocument document, - int line, - int column, - [MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedMethod method); - - [PreserveSig] - new int GetSymAttribute( - int methodToken, - [MarshalAs(UnmanagedType.LPWStr)] string name, - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)] byte[] customDebugInformation); - - [PreserveSig] - new int GetNamespaces( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] ISymUnmanagedNamespace[] namespaces); - - [PreserveSig] - new int Initialize( - [MarshalAs(UnmanagedType.Interface)] object metadataImporter, - [MarshalAs(UnmanagedType.LPWStr)] string fileName, - [MarshalAs(UnmanagedType.LPWStr)] string searchPath, - IStream stream); - - [PreserveSig] - new int UpdateSymbolStore([MarshalAs(UnmanagedType.LPWStr)] string fileName, IStream stream); - - [PreserveSig] - new int ReplaceSymbolStore([MarshalAs(UnmanagedType.LPWStr)] string fileName, IStream stream); - - [PreserveSig] - new int GetSymbolStoreFileName( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] char[] name); - - [PreserveSig] - new int GetMethodsFromDocumentPosition( - ISymUnmanagedDocument document, - int line, - int column, - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 3)] ISymUnmanagedMethod[] methods); - - [PreserveSig] - new int GetDocumentVersion(ISymUnmanagedDocument document, out int version, [MarshalAs(UnmanagedType.Bool)]out bool isCurrent); - - [PreserveSig] - new int GetMethodVersion(ISymUnmanagedMethod method, out int version); - - #endregion - - #region ISymUnmanagedReader2 methods - - [PreserveSig] - new int GetMethodByVersionPreRemap( - int methodToken, - int version, - [MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedMethod method); - - [PreserveSig] - new int GetSymAttributePreRemap( - int methodToken, - [MarshalAs(UnmanagedType.LPWStr)] string name, - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)] byte[] customDebugInformation); - - [PreserveSig] - new int GetMethodsInDocument( - ISymUnmanagedDocument document, - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 1)] ISymUnmanagedMethod[] methods); - - #endregion - - #region ISymUnmanagedReader3 methods - - /// - /// Gets a custom debug information based upon its name and an EnC 1-based version number. - /// - [PreserveSig] - int GetSymAttributeByVersion( - int methodToken, - int version, - [MarshalAs(UnmanagedType.LPWStr)] string name, - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 3)] byte[] customDebugInformation); - - /// - /// Gets a custom debug information based upon its name and an EnC 1-based version number. - /// - [PreserveSig] - int GetSymAttributeByVersionPreRemap( - int methodToken, - int version, - [MarshalAs(UnmanagedType.LPWStr)] string name, - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 3)] byte[] customDebugInformation); - - #endregion - } -} diff --git a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedReader4.cs b/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedReader4.cs deleted file mode 100644 index ca4ef37ba89aec3005306402993df657f77dbaf7..0000000000000000000000000000000000000000 --- a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedReader4.cs +++ /dev/null @@ -1,202 +0,0 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System; -using System.Runtime.InteropServices; -using System.Runtime.InteropServices.ComTypes; - -namespace Microsoft.DiaSymReader -{ - [ComImport] - [Guid("E65C58B7-2948-434D-8A6D-481740A00C16")] - [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] - [ComVisible(false)] - public interface ISymUnmanagedReader4 : ISymUnmanagedReader3 - { - #region ISymUnmanagedReader methods - - [PreserveSig] - new int GetDocument( - [MarshalAs(UnmanagedType.LPWStr)] string url, - Guid language, - Guid languageVendor, - Guid documentType, - [MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedDocument document); - - [PreserveSig] - new int GetDocuments( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] ISymUnmanagedDocument[] documents); - - [PreserveSig] - new int GetUserEntryPoint(out int methodToken); - - [PreserveSig] - new int GetMethod(int methodToken, [MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedMethod method); - - [PreserveSig] - new int GetMethodByVersion( - int methodToken, - int version, - [MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedMethod method); - - [PreserveSig] - new int GetVariables( - int methodToken, - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 1)] ISymUnmanagedVariable[] variables); - - [PreserveSig] - new int GetGlobalVariables( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] ISymUnmanagedVariable[] variables); - - [PreserveSig] - new int GetMethodFromDocumentPosition( - ISymUnmanagedDocument document, - int line, - int column, - [MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedMethod method); - - [PreserveSig] - new int GetSymAttribute( - int methodToken, - [MarshalAs(UnmanagedType.LPWStr)] string name, - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)] byte[] customDebugInformation); - - [PreserveSig] - new int GetNamespaces( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] ISymUnmanagedNamespace[] namespaces); - - [PreserveSig] - new int Initialize( - [MarshalAs(UnmanagedType.Interface)] object metadataImporter, - [MarshalAs(UnmanagedType.LPWStr)] string fileName, - [MarshalAs(UnmanagedType.LPWStr)] string searchPath, - IStream stream); - - [PreserveSig] - new int UpdateSymbolStore([MarshalAs(UnmanagedType.LPWStr)] string fileName, IStream stream); - - [PreserveSig] - new int ReplaceSymbolStore([MarshalAs(UnmanagedType.LPWStr)] string fileName, IStream stream); - - [PreserveSig] - new int GetSymbolStoreFileName( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] char[] name); - - [PreserveSig] - new int GetMethodsFromDocumentPosition( - ISymUnmanagedDocument document, - int line, - int column, - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 3)] ISymUnmanagedMethod[] methods); - - [PreserveSig] - new int GetDocumentVersion(ISymUnmanagedDocument document, out int version, [MarshalAs(UnmanagedType.Bool)]out bool isCurrent); - - [PreserveSig] - new int GetMethodVersion(ISymUnmanagedMethod method, out int version); - - #endregion - - #region ISymUnmanagedReader2 methods - - [PreserveSig] - new int GetMethodByVersionPreRemap( - int methodToken, - int version, - [MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedMethod method); - - [PreserveSig] - new int GetSymAttributePreRemap( - int methodToken, - [MarshalAs(UnmanagedType.LPWStr)] string name, - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)] byte[] customDebugInformation); - - [PreserveSig] - new int GetMethodsInDocument( - ISymUnmanagedDocument document, - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 1)] ISymUnmanagedMethod[] methods); - - #endregion - - #region ISymUnmanagedReader3 methods - - /// - /// Gets a custom debug information based upon its name and an EnC 1-based version number. - /// - [PreserveSig] - new int GetSymAttributeByVersion( - int methodToken, - int version, - [MarshalAs(UnmanagedType.LPWStr)] string name, - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 3)] byte[] customDebugInformation); - - /// - /// Gets a custom debug information based upon its name and an EnC 1-based version number. - /// - [PreserveSig] - new int GetSymAttributeByVersionPreRemap( - int methodToken, - int version, - [MarshalAs(UnmanagedType.LPWStr)] string name, - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 3)] byte[] customDebugInformation); - - #endregion - - #region ISymUnmanagedReader4 methods - - /// - /// Checkes whether the id stored in the PDB matches the PDB ID stored in the PE/COFF Debug Directory. - /// - [PreserveSig] - int MatchesModule(Guid guid, uint stamp, int age, [MarshalAs(UnmanagedType.Bool)]out bool result); - - /// - /// Returns a pointer to Portable Debug Metadata. Only available for Portable PDBs. - /// - /// - /// A pointer to memory where Portable Debug Metadata start. The memory is owned by the SymReader and - /// valid until is invoked. - /// - /// Null if the PDB is not portable. - /// - /// Size of the metadata block. - [PreserveSig] - unsafe int GetPortableDebugMetadata(out byte* metadata, out int size); - - /// - /// Returns a pointer to Source Server data stored in the PDB. - /// - /// - /// A pointer to memory where Source Server data start. The memory is owned by the SymReader and - /// valid until is invoked. - /// - /// Null if the PDB doesn't contain Source Server data. - /// - /// Size of the data in bytes. - [PreserveSig] - unsafe int GetSourceServerData(out byte* data, out int size); - - #endregion - } -} diff --git a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedScope.cs b/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedScope.cs deleted file mode 100644 index d9917458ef5b0c4713c228c630fb244dc9d23b61..0000000000000000000000000000000000000000 --- a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedScope.cs +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System; -using System.Runtime.InteropServices; - -namespace Microsoft.DiaSymReader -{ - [ComImport] - [Guid("68005D0F-B8E0-3B01-84D5-A11A94154942")] - [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] - [ComVisible(false)] - public interface ISymUnmanagedScope - { - [PreserveSig] - int GetMethod([MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedMethod method); - - [PreserveSig] - int GetParent([MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedScope scope); - - [PreserveSig] - int GetChildren( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] ISymUnmanagedScope[] children); - - [PreserveSig] - int GetStartOffset(out int offset); - - [PreserveSig] - int GetEndOffset(out int offset); - - [PreserveSig] - int GetLocalCount(out int count); - - [PreserveSig] - int GetLocals( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] ISymUnmanagedVariable[] locals); - - [PreserveSig] - int GetNamespaces( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] ISymUnmanagedNamespace[] namespaces); - } -} diff --git a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedScope2.cs b/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedScope2.cs deleted file mode 100644 index 0cb820f5688f1b45ceee9d2f1c1c0fb3703c81f1..0000000000000000000000000000000000000000 --- a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedScope2.cs +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System; -using System.Runtime.InteropServices; - -namespace Microsoft.DiaSymReader -{ - [ComVisible(false)] - [Guid("AE932FBA-3FD8-4dba-8232-30A2309B02DB")] - [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] - [ComImport] - public interface ISymUnmanagedScope2 : ISymUnmanagedScope - { - #region ISymUnmanagedScope methods - - [PreserveSig] - new int GetMethod([MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedMethod method); - - [PreserveSig] - new int GetParent([MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedScope scope); - - [PreserveSig] - new int GetChildren( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] ISymUnmanagedScope[] children); - - [PreserveSig] - new int GetStartOffset(out int offset); - - [PreserveSig] - new int GetEndOffset(out int offset); - - [PreserveSig] - new int GetLocalCount(out int count); - - [PreserveSig] - new int GetLocals( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] ISymUnmanagedVariable[] locals); - - [PreserveSig] - new int GetNamespaces( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] ISymUnmanagedNamespace[] namespaces); - - #endregion - - #region ISymUnmanagedScope2 methods - - [PreserveSig] - int GetConstantCount(out int count); - - [PreserveSig] - int GetConstants( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] ISymUnmanagedConstant[] constants); - - #endregion - } -} diff --git a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedVariable.cs b/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedVariable.cs deleted file mode 100644 index d85dfa9bbd8ebae4dd662b80291be09e7bb7f31e..0000000000000000000000000000000000000000 --- a/src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedVariable.cs +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System; -using System.Runtime.InteropServices; - -namespace Microsoft.DiaSymReader -{ - [ComImport] - [Guid("9F60EEBE-2D9A-3F7C-BF58-80BC991C60BB")] - [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] - [ComVisible(false)] - public interface ISymUnmanagedVariable - { - [PreserveSig] - int GetName( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] char[] name); - - [PreserveSig] - int GetAttributes(out int attributes); - - [PreserveSig] - int GetSignature( - int bufferLength, - out int count, - [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] byte[] signature); - - [PreserveSig] - int GetAddressKind(out int kind); - - [PreserveSig] - int GetAddressField1(out int value); - - [PreserveSig] - int GetAddressField2(out int value); - - [PreserveSig] - int GetAddressField3(out int value); - - [PreserveSig] - int GetStartOffset(out int offset); - - [PreserveSig] - int GetEndOffset(out int offset); - } -} diff --git a/src/Dependencies/Microsoft.DiaSymReader/Microsoft.DiaSymReader.nuget.proj b/src/Dependencies/Microsoft.DiaSymReader/Microsoft.DiaSymReader.nuget.proj deleted file mode 100644 index 587b9c6d3e01882a2f9bbeb932dc0b0af426cf5b..0000000000000000000000000000000000000000 --- a/src/Dependencies/Microsoft.DiaSymReader/Microsoft.DiaSymReader.nuget.proj +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - -prop currentVersion="$(NuGetVersion)" - $(OutDir)NuGet\$(NuGetVersionType) - - - - - - - - - - - - diff --git a/src/Dependencies/Microsoft.DiaSymReader/Microsoft.DiaSymReader.nuspec b/src/Dependencies/Microsoft.DiaSymReader/Microsoft.DiaSymReader.nuspec deleted file mode 100644 index 46f675ac43ef3127a51b6555e93359d286d028f7..0000000000000000000000000000000000000000 --- a/src/Dependencies/Microsoft.DiaSymReader/Microsoft.DiaSymReader.nuspec +++ /dev/null @@ -1,33 +0,0 @@ - - - - Microsoft.DiaSymReader - Microsoft DiaSymReader interop interfaces and utilities - - Microsoft DiaSymReader interop interfaces and utilities. - - - - - - - - - en-US - true - $currentVersion$ - Microsoft - http://go.microsoft.com/fwlink/?LinkId=394369 - http://msdn.com/roslyn - Preview of DiaSymReader interop library - DiaSymReader ISymUnmanagedReader PDB COM interop debugging - - - - - - - - - - diff --git a/src/Dependencies/Microsoft.DiaSymReader/Microsoft.DiaSymReader.projitems b/src/Dependencies/Microsoft.DiaSymReader/Microsoft.DiaSymReader.projitems deleted file mode 100644 index abc57c00d0bd798fec947348e251d72cd3ddfb9a..0000000000000000000000000000000000000000 --- a/src/Dependencies/Microsoft.DiaSymReader/Microsoft.DiaSymReader.projitems +++ /dev/null @@ -1,34 +0,0 @@ - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - true - f9127f0f-95c8-4576-8081-96e004c1652f - - - Microsoft.DiaSymReader - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Dependencies/Microsoft.DiaSymReader/Microsoft.DiaSymReader.shproj b/src/Dependencies/Microsoft.DiaSymReader/Microsoft.DiaSymReader.shproj deleted file mode 100644 index c66c4f1189434e8f75d8089f3e502037fc7c390b..0000000000000000000000000000000000000000 --- a/src/Dependencies/Microsoft.DiaSymReader/Microsoft.DiaSymReader.shproj +++ /dev/null @@ -1,13 +0,0 @@ - - - - f9127f0f-95c8-4576-8081-96e004c1652f - 14.0 - - - - - - - - diff --git a/src/Dependencies/Microsoft.DiaSymReader/NetFX20/Microsoft.DiaSymReader.NetFX20.csproj b/src/Dependencies/Microsoft.DiaSymReader/NetFX20/Microsoft.DiaSymReader.NetFX20.csproj deleted file mode 100644 index 1c4f823e38bfbe432a5db09f7f060799b95514b4..0000000000000000000000000000000000000000 --- a/src/Dependencies/Microsoft.DiaSymReader/NetFX20/Microsoft.DiaSymReader.NetFX20.csproj +++ /dev/null @@ -1,31 +0,0 @@ - - - - - true - - - - - - - Debug - AnyCPU - {FA2C8969-BD1F-457A-A6E3-CA772135FF73} - Library - Microsoft.DiaSymReader - Microsoft.DiaSymReader - true - ..\..\..\ - $(OutDir)DiaSymReader\NetFX20\ - - - - - - - - - - - \ No newline at end of file diff --git a/src/Dependencies/Microsoft.DiaSymReader/NetFX20/project.json b/src/Dependencies/Microsoft.DiaSymReader/NetFX20/project.json deleted file mode 100644 index 5513a4e25adbde65bc85bf67c97003a1d216ee08..0000000000000000000000000000000000000000 --- a/src/Dependencies/Microsoft.DiaSymReader/NetFX20/project.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "dependencies": { - "Microsoft.NetFX20": "1.0.3" - }, - "frameworks": { - "net46": {} - }, -} \ No newline at end of file diff --git a/src/Dependencies/Microsoft.DiaSymReader/Portable/AssemblyInfo.cs b/src/Dependencies/Microsoft.DiaSymReader/Portable/AssemblyInfo.cs deleted file mode 100644 index d77868f1732f7edcf1ed9c7b2cca9dda8c834b21..0000000000000000000000000000000000000000 --- a/src/Dependencies/Microsoft.DiaSymReader/Portable/AssemblyInfo.cs +++ /dev/null @@ -1,3 +0,0 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -[assembly: System.Security.AllowPartiallyTrustedCallers] \ No newline at end of file diff --git a/src/Dependencies/Microsoft.DiaSymReader/Portable/Microsoft.DiaSymReader.Portable.csproj b/src/Dependencies/Microsoft.DiaSymReader/Portable/Microsoft.DiaSymReader.Portable.csproj deleted file mode 100644 index 431529b4a68923c42d23be4fc58e1cb355e8cf13..0000000000000000000000000000000000000000 --- a/src/Dependencies/Microsoft.DiaSymReader/Portable/Microsoft.DiaSymReader.Portable.csproj +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - Debug - AnyCPU - {316FD2AD-8514-41BD-98D5-61A821F3320E} - Library - Microsoft.DiaSymReader - Microsoft.DiaSymReader - true - ..\..\..\ - v4.5 - Profile7 - .NETPortable - {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - $(OutDir)DiaSymReader\Portable\ - - - - - - - - - - - \ No newline at end of file diff --git a/src/Dependencies/Microsoft.DiaSymReader/SymUnmanagedSearchPolicy.cs b/src/Dependencies/Microsoft.DiaSymReader/SymUnmanagedSearchPolicy.cs deleted file mode 100644 index 8f72faf828ab273f79c2eb4858ba2d01af440271..0000000000000000000000000000000000000000 --- a/src/Dependencies/Microsoft.DiaSymReader/SymUnmanagedSearchPolicy.cs +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -namespace Microsoft.DiaSymReader -{ - public enum SymUnmanagedSearchPolicy - { - /// - /// Query the registry for symbol search paths. - /// - AllowRegistryAccess = 0x1, - - /// - /// Access a symbol server. - /// - AllowSymbolServerAccess = 0x2, - - /// - /// Look at the path specified in Debug Directory. - /// - AllowOriginalPathAccess = 0x4, - - /// - /// Look for PDB in the place where the exe is. - /// - AllowReferencePathAccess = 0x8 - } -} diff --git a/src/Dependencies/Microsoft.DiaSymReader/SymUnmanagedSequencePoint.cs b/src/Dependencies/Microsoft.DiaSymReader/SymUnmanagedSequencePoint.cs deleted file mode 100644 index 5767e761f8522d9de95339def6badfa45a7a2f84..0000000000000000000000000000000000000000 --- a/src/Dependencies/Microsoft.DiaSymReader/SymUnmanagedSequencePoint.cs +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System.Diagnostics; - -namespace Microsoft.DiaSymReader -{ - [DebuggerDisplay("{GetDebuggerDisplay(),nq}")] - public struct SymUnmanagedSequencePoint - { - public readonly int Offset; - public readonly ISymUnmanagedDocument Document; - public readonly int StartLine; - public readonly int StartColumn; - public readonly int EndLine; - public readonly int EndColumn; - - public bool IsHidden => StartLine == 0xfeefee; - - public SymUnmanagedSequencePoint( - int offset, - ISymUnmanagedDocument document, - int startLine, - int startColumn, - int endLine, - int endColumn) - { - this.Offset = offset; - this.Document = document; - this.StartLine = startLine; - this.StartColumn = startColumn; - this.EndLine = endLine; - this.EndColumn = endColumn; - } - - private string GetDebuggerDisplay() - { - return $"SequencePoint: Offset = {Offset:x4}, Range = ({StartLine}, {StartColumn})..({EndLine}, {EndColumn})"; - } - } -} diff --git a/src/Dependencies/Microsoft.DiaSymReader/Version.targets b/src/Dependencies/Microsoft.DiaSymReader/Version.targets deleted file mode 100644 index 5897181eeda256e2b58007b043d0851e8bd0482e..0000000000000000000000000000000000000000 --- a/src/Dependencies/Microsoft.DiaSymReader/Version.targets +++ /dev/null @@ -1,38 +0,0 @@ - - - 1.0.8 - false - - - - - - rc2 - $(AssemblyVersion).0 - - - - - - rc2-$(BuildNumber.Split('.')[0])-$(BuildNumber.Split('.')[1].PadLeft(2,'0')) - $(AssemblyVersion).$(BuildNumber.Split('.')[0]) - - - - - - - - $(AssemblyVersion) - Release - - - - - - $(AssemblyVersion)-$(NuGetVersionSuffix) - PerBuildPreRelease - - - - \ No newline at end of file