111 writes to PreserveSig
ComSvcConfig (2)
SafeNativeMethods.cs (2)
296[DllImport(OLE32, ExactSpelling = true, PreserveSig = false)] 342[DllImport(SHIM, CharSet = CharSet.Unicode, PreserveSig = true)]
mscorlib (18)
microsoft\win32\unsafenativemethods.cs (1)
286[DllImport("combase.dll", PreserveSig = true)]
system\deployment\isolationinterop.cs (6)
2904[DllImport(IsolationDllName, PreserveSig = false)] 2930[DllImport(IsolationDllName, PreserveSig = false)] 2940[DllImport(IsolationDllName, PreserveSig = false)] 2949[DllImport(IsolationDllName, PreserveSig = false)] 2963[DllImport(IsolationDllName, PreserveSig = false)] 2969[DllImport(IsolationDllName, PreserveSig = false)]
system\runtime\interopservices\attributes.cs (1)
842PreserveSig = preserveSig;
system\runtime\interopservices\marshal.cs (6)
2425[DllImport(Microsoft.Win32.Win32Native.OLE32, PreserveSig = false)] 2431[DllImport(Microsoft.Win32.Win32Native.OLE32, PreserveSig = false)] 2437[DllImport(Microsoft.Win32.Win32Native.OLE32, PreserveSig = false)] 2443[DllImport(Microsoft.Win32.Win32Native.OLE32, PreserveSig = false)] 2449[DllImport(Microsoft.Win32.Win32Native.OLE32, PreserveSig = false)] 2455[DllImport(Microsoft.Win32.Win32Native.OLEAUT32, PreserveSig = false)]
system\Runtime\InteropServices\NativeMethods.cs (1)
25DllImport("oleaut32.dll", PreserveSig = false),
system\runtime\interopservices\registrationservices.cs (1)
1109[DllImport(Win32Native.OLE32,CharSet=CharSet.Auto,PreserveSig=false)]
system\runtime\interopservices\windowsruntime\nativemethods.cs (2)
28[DllImport("api-ms-win-core-winrt-error-l1-1-1.dll", PreserveSig = false)] 41[DllImport("api-ms-win-core-winrt-error-l1-1-1.dll", PreserveSig = false)]
PresentationBuildTasks (4)
BuildTasks\Microsoft\Build\Tasks\Windows\GetWinFXPath.cs (4)
190[DllImport(Kernel32Dll, PreserveSig = true, CharSet = CharSet.Unicode)] 193[DllImport(Kernel32Dll, PreserveSig = true)] 196[DllImport(Kernel32Dll, PreserveSig = true, CharSet = CharSet.Unicode)] 199[DllImport(Kernel32Dll, PreserveSig = true)]
PresentationCore (4)
Core\CSharp\MS\Win32\UnsafeNativeMethodsPenimc.cs (1)
709[return: MarshalAs(UnmanagedType.Interface)][DllImport(ExternDll.Ole32, ExactSpelling=true, PreserveSig=false)]
Core\CSharp\System\windows\Media\MILUtilities.cs (1)
181[DllImport(DllImport.MilCore, EntryPoint = "MilUtility_CopyPixelBuffer", PreserveSig = false)]
Graphics\include\wgx_exports.cs (2)
190[DllImport(DllImport.MilCore, EntryPoint = "MILSwDoubleBufferedBitmapGetBackBuffer", PreserveSig = false)] 199[DllImport(DllImport.MilCore, EntryPoint = "MILSwDoubleBufferedBitmapAddDirtyRect", PreserveSig = false)]
PresentationFramework (18)
src\Framework\MS\Internal\AppModel\ShellProvider.cs (1)
1090[DllImport(ExternDll.Shell32, PreserveSig = false)]
src\Framework\MS\Internal\Controls\ActiveXHelper.cs (1)
167[DllImport(ExternDll.PresentationHostDll, PreserveSig=false)]
src\Framework\System\Windows\Documents\NaturalLanguageHyphenator.cs (3)
240[DllImport(DllImport.PresentationNative, PreserveSig = false)] 247[DllImport(DllImport.PresentationNative, PreserveSig = true)] 254[DllImport(DllImport.PresentationNative, PreserveSig = false)]
src\Framework\System\Windows\Documents\NLGSpellerInterop.cs (3)
1230[DllImport(DllImport.PresentationNative, PreserveSig = false)] 1237[DllImport(DllImport.PresentationNative, PreserveSig = true)] 1244[DllImport(DllImport.PresentationNative, PreserveSig = false)]
src\Framework\System\Windows\Standard\NativeMethods.cs (10)
2766[DllImport("dwmapi.dll", PreserveSig = false)] 2774[DllImport("dwmapi.dll", EntryPoint = "DwmIsCompositionEnabled", PreserveSig = false)] 2783[DllImport("dwmapi.dll", EntryPoint = "DwmGetColorizationColor", PreserveSig = true)] 3202[DllImport("uxtheme.dll", PreserveSig = false)] 3915[DllImport("dwmapi.dll", PreserveSig = false)] 3923[DllImport("dwmapi.dll", PreserveSig = false)] 3931[DllImport("dwmapi.dll", PreserveSig = false)] 3939[DllImport("shell32.dll", PreserveSig = false)] 3947[DllImport("shell32.dll", PreserveSig = false)] 3968[DllImport("shell32.dll", PreserveSig = false)]
System (1)
net\System\Net\UnsafeNativeMethods.cs (1)
3411[DllImport(OLE32, PreserveSig=false)]
System.AddIn (1)
System\Addin\NativeMethods.cs (1)
25[DllImport("KERNEL32.DLL", EntryPoint="IsWow64Process", PreserveSig=true, ExactSpelling=true, SetLastError=true)]
System.Data (6)
fx\src\data\System\Data\Common\SafeNativeMethods.cs (5)
35[DllImport(ExternDll.Kernel32, CharSet=CharSet.Unicode, PreserveSig=true)] 39[DllImport(ExternDll.Kernel32, PreserveSig=true)] 110[DllImport(ExternDll.Oleaut32, CharSet=CharSet.Unicode, PreserveSig=false)] 130[DllImport(ExternDll.Ole32, PreserveSig=false)] 135[DllImport(ExternDll.Oleaut32, PreserveSig=false)]
fx\src\data\System\Data\Common\UnsafeNativeMethods.cs (1)
470[DllImport(ExternDll.Oleaut32, CharSet=CharSet.Unicode, PreserveSig=true)]
System.Drawing (1)
commonui\System\Drawing\Advanced\Gdiplus.cs (1)
4940[DllImport(ExternDll.Oleaut32, PreserveSig=false)]
System.Management (7)
Instrumentation\EventSource.cs (1)
80[ResourceExposure( ResourceScope.None),DllImport("ole32.dll", PreserveSig = false)]
InteropClasses\WMIInterop.cs (6)
430[ResourceExposure( ResourceScope.None),DllImport("ole32.dll", PreserveSig=false)] 433[ResourceExposure( ResourceScope.None),DllImport("ole32.dll", PreserveSig=false)] 436[ResourceExposure( ResourceScope.None),DllImport("kernel32.dll", PreserveSig=true)] 439[ResourceExposure( ResourceScope.None),DllImport("kernel32.dll", PreserveSig=true)] 453[ResourceExposure( ResourceScope.None),DllImport("ole32.dll", PreserveSig=false)] 463[ResourceExposure( ResourceScope.None),DllImport("ole32.dll", PreserveSig=false)]
System.Messaging (2)
System\Messaging\Interop\NativeMethods.cs (2)
336[DllImport(ExternDll.Ole32, PreserveSig = false)] 340[DllImport(ExternDll.Ole32, PreserveSig = false)]
System.ServiceModel (16)
System\ServiceModel\ComIntegration\SafeNativeMethods.cs (16)
422[DllImport(OLE32, ExactSpelling = true, PreserveSig = false)] 431[DllImport(OLE32, ExactSpelling = true, PreserveSig = false)] 438[DllImport(OLE32, ExactSpelling = true, PreserveSig = false)] 442[DllImport(OLE32, ExactSpelling = true, PreserveSig = false)] 448[DllImport(COMSVCS, ExactSpelling = true, PreserveSig = false)] 455[DllImport(OLE32, ExactSpelling = true, PreserveSig = false)] 459[DllImport(KERNEL32, ExactSpelling = true, PreserveSig = true)] 463[DllImport(KERNEL32, ExactSpelling = true, PreserveSig = true)] 468[DllImport(KERNEL32, ExactSpelling = true, PreserveSig = true)] 475PreserveSig = true)] 483PreserveSig = true)] 490PreserveSig = true)] 497PreserveSig = false)] 503PreserveSig = false)] 510PreserveSig = false)] 517PreserveSig = false)]
System.Windows.Forms (29)
parent\parent\parent\public\Internal\NDP\Inc\IsolationInterop.cs (8)
2920[DllImport(IsolationDllName, PreserveSig = false)] 2946[DllImport(IsolationDllName, PreserveSig = false)] 2956[DllImport(IsolationDllName, PreserveSig = false)] 2965[DllImport(IsolationDllName, PreserveSig = false)] 2972[DllImport(IsolationDllName, PreserveSig = false)] 2979[DllImport(IsolationDllName, PreserveSig = false)] 2985[DllImport(IsolationDllName, PreserveSig = false)] 2991[DllImport(IsolationDllName, PreserveSig = false)]
winforms\Managed\System\WinForms\SafeNativeMethods.cs (5)
87[DllImport(ExternDll.Oleaut32, PreserveSig=false)] 90[DllImport(ExternDll.Oleaut32, PreserveSig=false)] 93[DllImport(ExternDll.Oleaut32, PreserveSig=false)] 114[ DllImport(ExternDll.Oleaut32, PreserveSig=false)] 169[DllImport(ExternDll.Oleaut32, EntryPoint="OleCreateFontIndirect", ExactSpelling=true, PreserveSig=false)]
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (16)
212[DllImport(ExternDll.Ole32, ExactSpelling=true, PreserveSig=false)] 222[return: MarshalAs(UnmanagedType.Interface)][DllImport(ExternDll.Ole32, ExactSpelling=true, PreserveSig=false)] 344[DllImport(ExternDll.Oleaut32, EntryPoint = "OleCreateFontIndirect", ExactSpelling = true, PreserveSig = false)] 347[DllImport(ExternDll.Oleaut32, EntryPoint = "OleCreatePictureIndirect", ExactSpelling = true, PreserveSig = false)] 350[DllImport(ExternDll.Oleaut32, EntryPoint = "OleCreatePictureIndirect", ExactSpelling = true, PreserveSig = false)] 354[DllImport(ExternDll.Oleaut32, PreserveSig = false)] 357[DllImport(ExternDll.Oleaut32, PreserveSig = false)] 492[DllImport(ExternDll.Ole32, PreserveSig=false)] 495[DllImport(ExternDll.Ole32, PreserveSig=false)] 1269[DllImport(ExternDll.Oleaut32, PreserveSig=false)] 1429[DllImport(ExternDll.Ole32, PreserveSig = false)] 1432[DllImport(ExternDll.Ole32, PreserveSig=false)] 7631[DllImport(ExternDll.Shell32, PreserveSig = true)] 7651[DllImport(ExternDll.Shell32, PreserveSig = true)] 7655[DllImport(ExternDll.Shell32, PreserveSig = true)] 8296[DllImport(ExternDll.Clr, CharSet=CharSet.Unicode, PreserveSig=false, SetLastError=false, BestFitMapping=false, ExactSpelling=true)]
WindowsBase (2)
Shared\MS\Win32\UnsafeNativeMethodsCLR.cs (2)
800[DllImport(ExternDll.Ole32, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto, PreserveSig = false)] 4121[DllImport(ExternDll.Oleaut32, PreserveSig=true)]
1 reference to PreserveSig
mscorlib (1)
system\reflection\customattribute.cs (1)
427new CustomAttributeNamedArgument(type.GetField("PreserveSig"), dllImport.PreserveSig),