Enable PInvoke analyzer for S.P.CoreLib.dll
authorJohn Chen (CLR) <jochen@microsoft.com>
Mon, 9 Jan 2017 20:19:14 +0000 (12:19 -0800)
committerJohn Chen (CLR) <jochen@microsoft.com>
Mon, 9 Jan 2017 20:24:38 +0000 (12:24 -0800)
commit8a04e98824bbdaac2f365e3b87dabf7d2cab988d
treea7c50593a6ae3ccbee325f438372fb9ca93a2446
parente6e3af3568159b1588c3a9ae8aff4fdfccf360d1
Enable PInvoke analyzer for S.P.CoreLib.dll

Commit migrated from https://github.com/dotnet/coreclr/commit/b2c6ab752c7a71b726695f783a5a0381196cc1fe
42 files changed:
src/coreclr/BuildToolsVersion.txt
src/coreclr/src/mscorlib/System.Private.CoreLib.csproj
src/coreclr/src/mscorlib/corefx/Interop/Windows/Interop.Errors.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.CancelIoEx.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/mincore/Interop.CancelIoEx.cs with 70% similarity]
src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.CloseHandle.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/mincore/Interop.CloseHandle.cs with 81% similarity]
src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.CreateFile.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/mincore/Interop.CreateFile.cs with 89% similarity]
src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.FileOperations.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/mincore/Interop.FileOperations.cs with 97% similarity]
src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.FileTypes.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/mincore/Interop.FileTypes.cs with 93% similarity]
src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.FlushFileBuffers.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/mincore/Interop.FlushFileBuffers.cs with 82% similarity]
src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.FormatMessage.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/mincore/Interop.FormatMessage.cs with 96% similarity]
src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.GetFileInformationByHandleEx.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/mincore/Interop.GetFileInformationByHandleEx.cs with 89% similarity]
src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.GetFileType_SafeHandle.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/mincore/Interop.GetFileType_SafeHandle.cs with 79% similarity]
src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.GetFullPathNameW.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/mincore/Interop.GetFullPathNameW.cs with 77% similarity]
src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.GetLongPathNameW.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/mincore/Interop.GetLongPathNameW.cs with 77% similarity]
src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.GetTempFileNameW.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/mincore/Interop.GetTempFileNameW.cs with 76% similarity]
src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.GetTempPathW.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/mincore/Interop.GetTempPathW.cs with 77% similarity]
src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.LockFile.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/mincore/Interop.LockFile.cs with 79% similarity]
src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.ReadFile_SafeHandle_IntPtr.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/mincore/Interop.ReadFile_SafeHandle_IntPtr.cs with 76% similarity]
src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.ReadFile_SafeHandle_NativeOverlapped.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/mincore/Interop.ReadFile_SafeHandle_NativeOverlapped.cs with 78% similarity]
src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.SECURITY_ATTRIBUTES.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/mincore/Interop.SECURITY_ATTRIBUTES.cs with 94% similarity]
src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.SafeCreateFile.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/mincore/Interop.SafeCreateFile.cs with 85% similarity]
src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.SecurityOptions.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/mincore/Interop.SecurityOptions.cs with 94% similarity]
src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.SetEndOfFile.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/mincore/Interop.SetEndOfFile.cs with 80% similarity]
src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.SetErrorMode.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/mincore/Interop.SetErrorMode.cs with 69% similarity]
src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.SetFileInformationByHandle.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/mincore/Interop.SetFileInformationByHandle.cs with 94% similarity]
src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.SetFilePointerEx.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/mincore/Interop.SetFilePointerEx.cs with 82% similarity]
src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.UnsafeCreateFile.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/mincore/Interop.UnsafeCreateFile.cs with 87% similarity]
src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.WideCharToMultiByte.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/mincore/Interop.WideCharToMultiByte.cs with 89% similarity]
src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.WriteFile_SafeHandle_IntPtr.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/mincore/Interop.WriteFile_SafeHandle_IntPtr.cs with 84% similarity]
src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.WriteFile_SafeHandle_NativeOverlapped.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/mincore/Interop.WriteFile_SafeHandle_NativeOverlapped.cs with 85% similarity]
src/coreclr/src/mscorlib/corefx/Interop/Windows/mincore/Interop.Errors.cs [deleted file]
src/coreclr/src/mscorlib/corefx/Interop/Windows/mincore/Interop.Idna.cs [deleted file]
src/coreclr/src/mscorlib/corefx/Interop/Windows/mincore/Interop.ThreadPoolIO.cs [deleted file]
src/coreclr/src/mscorlib/corefx/Microsoft/Win32/SafeHandles/SafeFileHandle.Windows.cs
src/coreclr/src/mscorlib/corefx/System/IO/FileStream.Win32.cs
src/coreclr/src/mscorlib/corefx/System/IO/FileStreamCompletionSource.Win32.cs
src/coreclr/src/mscorlib/corefx/System/IO/Path.Windows.cs
src/coreclr/src/mscorlib/corefx/System/IO/PathHelper.Windows.cs
src/coreclr/src/mscorlib/corefx/System/IO/Win32Marshal.cs
src/coreclr/src/mscorlib/corefx/System/Security/SecureString.Windows.cs
src/coreclr/src/mscorlib/mscorlib.shared.sources.props
src/coreclr/src/mscorlib/src/System/Runtime/InteropServices/WindowsRuntime/NativeMethods.cs