242 writes to ExactSpelling
Microsoft.Build.Framework (1)
VisualStudioLocationHelper.cs (1)
109[DllImport("Microsoft.VisualStudio.Setup.Configuration.Native.dll", ExactSpelling = true, PreserveSig = true)]
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
src\Workspaces\MSBuild\BuildHost\Rpc\Contracts\MonoMSBuildDiscovery.cs (2)
43[DllImport("libc", EntryPoint = "realpath", CharSet = CharSet.Ansi, ExactSpelling = true, CallingConvention = CallingConvention.Cdecl)] 47[DllImport("libc", EntryPoint = "free", ExactSpelling = true, CallingConvention = CallingConvention.Cdecl)]
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
Rpc\Contracts\MonoMSBuildDiscovery.cs (2)
43[DllImport("libc", EntryPoint = "realpath", CharSet = CharSet.Ansi, ExactSpelling = true, CallingConvention = CallingConvention.Cdecl)] 47[DllImport("libc", EntryPoint = "free", ExactSpelling = true, CallingConvention = CallingConvention.Cdecl)]
Microsoft.Extensions.Diagnostics.ResourceMonitoring (4)
Windows\Interop\JobObjectInfo.cs (4)
329[DllImport("kernel32.dll", ExactSpelling = true, SetLastError = true)] 345[DllImport("kernel32.dll", ExactSpelling = true, SetLastError = true)] 363[DllImport("kernel32.dll", ExactSpelling = true, SetLastError = true)] 376[DllImport("kernel32.dll", ExactSpelling = true, SetLastError = true)]
Microsoft.ML.TestFrameworkCommon (1)
Attributes\AttributeHelpers.cs (1)
40[DllImport("libc", ExactSpelling = true, CallingConvention = CallingConvention.Cdecl)]
Microsoft.VisualStudio.LanguageServices (4)
Utilities\ClipboardHelpers.cs (4)
24[DllImport("ole32.dll", ExactSpelling = true, CharSet = CharSet.Unicode)] 27[DllImport("ole32.dll", ExactSpelling = true, CharSet = CharSet.Auto)] 30[DllImport("kernel32.dll", ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)] 33[DllImport("kernel32.dll", ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)]
PresentationCore (2)
MS\Win32\UnsafeNativeMethodsPenimc.cs (2)
603[DllImport(ExternDll.Ole32, ExactSpelling = true, PreserveSig = false)] 624[DllImport(ExternDll.Kernel32, ExactSpelling = true)]
ReachFramework (18)
MS\Internal\Printing\Configuration\UnsafeNativeMethods.cs (18)
71[DllImport(DllImport.PrntvPt, EntryPoint = "PTCloseProvider", CharSet = CharSet.Unicode, ExactSpelling = true)] 242[DllImport(ExternDll.Winspool, CharSet = CharSet.Unicode, ExactSpelling = true, SetLastError = true)] 250[DllImport(ExternDll.Winspool, CharSet = CharSet.Unicode, ExactSpelling = true, SetLastError = true)] 258[DllImport(ExternDll.Winspool, CharSet = CharSet.Unicode, ExactSpelling = true, SetLastError = true)] 266[DllImport(ExternDll.Winspool, CharSet = CharSet.Unicode, ExactSpelling = true, SetLastError = true)] 275[DllImport(ExternDll.Winspool, ExactSpelling = true, SetLastError = true)] 278[DllImport(ExternDll.Gdi32, CharSet = CharSet.Unicode, ExactSpelling = true, SetLastError = true)] 281[DllImport(ExternDll.Gdi32, ExactSpelling = true, SetLastError = true)] 284[DllImport(ExternDll.Gdi32, ExactSpelling = true, SetLastError = true)] 287[DllImport(ExternDll.User32, CharSet = CharSet.Unicode, ExactSpelling = true, SetLastError = true)] 290[DllImport(ExternDll.Kernel32, CharSet = CharSet.Unicode, ExactSpelling = true, SetLastError = true)] 293[DllImport(ExternDll.Kernel32, ExactSpelling = true, SetLastError = true)] 303[DllImport(DllImport.Ole32, EntryPoint = "CreateStreamOnHGlobal", CharSet = CharSet.Unicode, ExactSpelling = true)] 319[DllImport(DllImport.PrntvPt, EntryPoint = "PTOpenProviderEx", CharSet = CharSet.Unicode, ExactSpelling = true)] 352[DllImport(DllImport.PrntvPt, EntryPoint = "PTMergeAndValidatePrintTicket", CharSet = CharSet.Unicode, ExactSpelling = true)] 370[DllImport(DllImport.PrntvPt, EntryPoint = "PTConvertDevModeToPrintTicket", CharSet = CharSet.Unicode, ExactSpelling = true)] 390[DllImport(DllImport.PrntvPt, EntryPoint = "PTConvertPrintTicketToDevMode", CharSet = CharSet.Unicode, ExactSpelling = true)] 405[DllImport(DllImport.PrntvPt, EntryPoint = "PTReleaseMemory", CharSet = CharSet.Unicode, ExactSpelling = true)]
System.Drawing.Common (2)
System\Drawing\Printing\DefaultPrintController.cs (1)
65[DllImport(Libraries.Kernel32, ExactSpelling = true)]
Windows\Win32\PInvoke.SHGetStockIconInfo.cs (1)
65[DllImport(Libraries.Shell32, ExactSpelling = true)]
System.Net.Quic (2)
System\Net\Quic\Interop\msquic_generated.cs (2)
3116[DllImport("msquic", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] 3120[DllImport("msquic", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
System.Private.CoreLib (1)
src\System\Reflection\RuntimeCustomAttributeData.cs (1)
2221attribute.ExactSpelling = (flags & PInvokeAttributes.NoMangle) != 0;
System.Private.Windows.Core (1)
Windows\Win32\PInvokeCore.PrintDlgEx.cs (1)
11[DllImport("COMDLG32.dll", ExactSpelling = true, EntryPoint = "PrintDlgExW")]
System.Private.Windows.Core.TestUtilities (1)
XUnit\UseCultureAttribute.cs (1)
134[DllImport("Kernel32.dll", ExactSpelling = true, CharSet = CharSet.Unicode)]
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\MethodBase\Ecma\EcmaMethodDecoder.cs (1)
143ExactSpelling = (a & MethodImportAttributes.ExactSpelling) != 0,
System.Windows.Controls.Ribbon (6)
Microsoft\Windows\Controls\Ribbon\NativeMethods.cs (6)
317[DllImport("user32.dll", ExactSpelling = true)] 324[DllImport("user32.dll", ExactSpelling = true, CharSet = CharSet.Auto)] 330[DllImport("user32.dll", ExactSpelling = true, CharSet = CharSet.Auto)] 347[DllImport("gdi32.dll", SetLastError = true, ExactSpelling = true, CharSet = CharSet.Auto)] 350[DllImport("user32.dll", SetLastError = true, ExactSpelling = true, EntryPoint = "GetDC", CharSet = CharSet.Auto)] 363[DllImport("user32.dll", ExactSpelling = true, EntryPoint = "ReleaseDC", CharSet = CharSet.Auto)]
System.Windows.Forms.Interop.Tests (76)
AccessibleObjectTests.cs (75)
782[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 786[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 790[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 795[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 800[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 804[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 809[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 814[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 820[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 826[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 831[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 836[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 841[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 846[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 851[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 856[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 861[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 866[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 870[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 874[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 879[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 884[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 888[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 894[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 898[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 902[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 907[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 912[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 917[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 922[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 927[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 932[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 937[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 942[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 947[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 951[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 955[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 959[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 963[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 968[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 973[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 979[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 984[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 989[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 993[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 998[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1003[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1007[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1011[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1015[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1021[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1027[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1032[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1037[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1042[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1047[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1052[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1057[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1062[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1067[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1072[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1076[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1080[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1085[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1090[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1095[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1100[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1105[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1110[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1115[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1120[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1124[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1128[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1132[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1136[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)]
WebBrowserSiteBaseInteropTests.cs (1)
18[DllImport(NativeTests, CharSet = CharSet.Unicode, ExactSpelling = true)]
System.Windows.Forms.Primitives (8)
Windows\Win32\PInvoke.ChooseColor.cs (1)
11[DllImport("COMDLG32.dll", ExactSpelling = true, EntryPoint = "ChooseColorW")]
Windows\Win32\PInvoke.ChooseFont.cs (1)
11[DllImport("COMDLG32.dll", ExactSpelling = true, EntryPoint = "ChooseFontW")]
Windows\Win32\PInvoke.DispatchMessageA.cs (1)
11[DllImport(Libraries.User32, ExactSpelling = true)]
Windows\Win32\PInvoke.GetOpenFileName.cs (2)
12[DllImport("COMDLG32.dll", EntryPoint = "GetOpenFileNameW", ExactSpelling = true)] 15[DllImport("COMDLG32.dll", EntryPoint = "GetSaveFileNameW", ExactSpelling = true)]
Windows\Win32\PInvoke.PageSetupDialog.cs (1)
11[DllImport("COMDLG32.dll", ExactSpelling = true, EntryPoint = "PageSetupDlgW")]
Windows\Win32\PInvoke.PrintDlg.cs (1)
11[DllImport("COMDLG32.dll", ExactSpelling = true, EntryPoint = "PrintDlgW")]
Windows\Win32\PInvoke.Shell_NotifyIconW.cs (1)
11[DllImport("shell32.dll", CharSet = CharSet.Unicode, ExactSpelling = true)]
System.Windows.Forms.Primitives.Tests (17)
Interop\Oleaut32\DECIMALTests.cs (1)
38[DllImport(Libraries.Oleaut32, ExactSpelling = true)]
Interop\Oleaut32\VARIANTTests.cs (15)
5821[DllImport(Libraries.Propsys, ExactSpelling = true)] 5824[DllImport(Libraries.Propsys, ExactSpelling = true)] 5827[DllImport(Libraries.Propsys, ExactSpelling = true)] 5830[DllImport(Libraries.Propsys, ExactSpelling = true)] 5833[DllImport(Libraries.Propsys, ExactSpelling = true)] 5836[DllImport(Libraries.Propsys, ExactSpelling = true)] 5839[DllImport(Libraries.Propsys, ExactSpelling = true)] 5842[DllImport(Libraries.Propsys, ExactSpelling = true)] 5845[DllImport(Libraries.Propsys, ExactSpelling = true)] 5848[DllImport(Libraries.Propsys, ExactSpelling = true)] 5851[DllImport(Libraries.Propsys, ExactSpelling = true)] 5854[DllImport(Libraries.Propsys, ExactSpelling = true)] 5857[DllImport(Libraries.Propsys, ExactSpelling = true)] 5860[DllImport(Libraries.Oleaut32, ExactSpelling = true)] 5863[DllImport(Libraries.Oleaut32, ExactSpelling = true)]
System\Windows\Forms\DeviceContextScopeTests.cs (1)
12[DllImport(Libraries.Gdi32, SetLastError = true, ExactSpelling = true)]
System.Windows.Forms.Primitives.TestUtilities (4)
PlatformDetection.Windows.cs (4)
221[DllImport("advapi32.dll", SetLastError = true, ExactSpelling = true)] 248[DllImport("ntdll.dll", ExactSpelling = true)] 274[DllImport("kernel32.dll", ExactSpelling = true)] 277[DllImport("advapi32.dll", SetLastError = true, ExactSpelling = true)]
UIAutomationClient (9)
MS\Win32\SafeNativeMethods.cs (2)
21[DllImport("user32.dll", ExactSpelling=true, CharSet=System.Runtime.InteropServices.CharSet.Auto)] 136[DllImport("user32.dll", ExactSpelling = true, SetLastError = true)]
MS\Win32\UnsafeNativeMethods.cs (3)
166[DllImport("user32.dll", EntryPoint = "WindowFromPoint", ExactSpelling = true, CharSet = CharSet.Auto)] 169[DllImport("user32.dll", EntryPoint = "WindowFromPhysicalPoint", ExactSpelling = true, CharSet = CharSet.Auto)] 338[DllImport("user32.dll", ExactSpelling = true, CharSet = CharSet.Auto)]
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsSetLastError.cs (4)
46[DllImport(PresentationNativeDll, EntryPoint="GlobalDeleteAtomWrapper", ExactSpelling = true, SetLastError = true)] 54[DllImport(PresentationNativeDll, EntryPoint="GetWindowWrapper", ExactSpelling = true, SetLastError = true)] 57[DllImport(PresentationNativeDll, EntryPoint="MapWindowPointsWrapper", SetLastError = true, ExactSpelling=true, CharSet=CharSet.Auto)] 60[DllImport(PresentationNativeDll, EntryPoint="MapWindowPointsWrapper", SetLastError = true, ExactSpelling=true, CharSet=CharSet.Auto)]
UIAutomationClientSideProviders (29)
MS\Win32\SafeNativeMethods.cs (3)
14[DllImport(ExternDll.Kernel32, ExactSpelling = true)] 20[DllImport(ExternDll.User32, ExactSpelling = true)] 22[DllImport(ExternDll.User32, ExactSpelling = true)]
MS\Win32\UnsafeNativeMethods.cs (22)
40[DllImport(ExternDll.Kernel32, ExactSpelling = true, CharSet = CharSet.Auto)] 42[DllImport(ExternDll.Kernel32, ExactSpelling = true, CharSet = CharSet.Auto)] 126[DllImport(ExternDll.User32, ExactSpelling = true, SetLastError = true)] 188[DllImport(ExternDll.User32, ExactSpelling = true)] 225[DllImport(ExternDll.User32, CharSet = CharSet.Unicode, ExactSpelling = true, SetLastError = true)] 231[DllImport(ExternDll.User32, CharSet = CharSet.Auto, ExactSpelling = true, SetLastError = true)] 233[DllImport(ExternDll.User32, CharSet = CharSet.Auto, ExactSpelling = true, SetLastError = true)] 253[DllImport(ExternDll.User32, ExactSpelling = true, SetLastError = true)] 255[DllImport(ExternDll.User32, ExactSpelling = true)] 257[DllImport(ExternDll.User32, ExactSpelling = true)] 259[DllImport(ExternDll.User32, ExactSpelling = true, SetLastError = true)] 263[DllImport(ExternDll.User32, CharSet = CharSet.Unicode, ExactSpelling = true, SetLastError = true)] 265[DllImport(ExternDll.User32, ExactSpelling = true, SetLastError = true)] 267[DllImport(ExternDll.User32, ExactSpelling = true)] 269[DllImport(ExternDll.User32, ExactSpelling = true)] 273[DllImport(ExternDll.User32, ExactSpelling = true)] 276[DllImport(ExternDll.User32, ExactSpelling = true, SetLastError = true)] 305[DllImport(ExternDll.User32, EntryPoint = "WindowFromPoint", ExactSpelling = true, CharSet = CharSet.Auto)] 308[DllImport(ExternDll.User32, EntryPoint = "WindowFromPhysicalPoint", ExactSpelling = true, CharSet = CharSet.Auto)] 426[DllImport(ExternDll.User32, ExactSpelling = true, SetLastError = true)] 428[DllImport(ExternDll.User32, ExactSpelling = true)] 435[DllImport(ExternDll.User32, ExactSpelling = true)]
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsSetLastError.cs (4)
46[DllImport(PresentationNativeDll, EntryPoint="GlobalDeleteAtomWrapper", ExactSpelling = true, SetLastError = true)] 77[DllImport(PresentationNativeDll, EntryPoint="GetWindowWrapper", ExactSpelling = true, SetLastError = true)] 83[DllImport(PresentationNativeDll, EntryPoint="MapWindowPointsWrapper", ExactSpelling = true, SetLastError = true)] 86[DllImport(PresentationNativeDll, EntryPoint="MapWindowPointsWrapper", ExactSpelling = true, SetLastError = true)]
UIAutomationTypes (41)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsOther.cs (1)
194[DllImport(ExternDll.Gdi32, ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)]
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsSetLastError.cs (4)
95[DllImport(PresentationNativeDll, EntryPoint="EnableWindowWrapper", SetLastError = true, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)] 101[DllImport(PresentationNativeDll, EntryPoint="GetKeyboardLayoutListWrapper", SetLastError = true, ExactSpelling=true, CharSet=CharSet.Auto)] 107[DllImport(PresentationNativeDll, EntryPoint="GetWindowWrapper", ExactSpelling = true, SetLastError = true)] 134[DllImport(PresentationNativeDll, EntryPoint="MapWindowPointsWrapper", SetLastError = true, ExactSpelling=true, CharSet=CharSet.Auto)]
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\UnsafeNativeMethodsCLR.cs (36)
53[DllImport(ExternDll.User32, EntryPoint = "SetWindowPos", ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)] 56[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)] 80[DllImport(ExternDll.Gdi32, SetLastError = true, ExactSpelling = true, EntryPoint = "CreateCompatibleBitmap", CharSet = CharSet.Auto)] 89[DllImport(ExternDll.Gdi32, SetLastError = true, ExactSpelling = true, CharSet = CharSet.Auto)] 92[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 105[DllImport(ExternDll.Gdi32, SetLastError = true, ExactSpelling = true, EntryPoint = "DeleteObject", CharSet = CharSet.Auto)] 108[DllImport(ExternDll.Gdi32, EntryPoint = "SelectObject", SetLastError = true, ExactSpelling = true, CharSet = CharSet.Auto)] 111[DllImport(ExternDll.User32, EntryPoint = "PrintWindow", SetLastError = true, ExactSpelling = true, CharSet = CharSet.Auto)] 114[DllImport(ExternDll.User32, EntryPoint = "RedrawWindow", ExactSpelling = true, CharSet = CharSet.Auto)] 164[DllImport(ExternDll.Kernel32, ExactSpelling = true, CharSet = CharSet.Unicode, SetLastError = true)] 232[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 235[DllImport(ExternDll.Ole32, ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)] 306[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 309[DllImport(ExternDll.User32, EntryPoint = "GetCursorPos", ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)] 322[DllImport(ExternDll.User32, EntryPoint = "GetCursorPos", ExactSpelling = true, CharSet = CharSet.Auto)] 489[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 492[DllImport(ExternDll.User32, SetLastError = true, ExactSpelling = true, CharSet = CharSet.Auto)] 495[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 765[DllImport(ExternDll.Kernel32, CharSet = CharSet.Auto, ExactSpelling = true)] 768[DllImport(ExternDll.User32, EntryPoint = "ClientToScreen", SetLastError = true, ExactSpelling = true, CharSet = CharSet.Auto)] 779[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 782[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 785[DllImport(ExternDll.Ole32, ExactSpelling = true, CharSet = CharSet.Auto)] 788[DllImport(ExternDll.Ole32, ExactSpelling = true, CharSet = CharSet.Auto)] 819[DllImport(ExternDll.User32, ExactSpelling = true, EntryPoint = "BeginPaint", CharSet = CharSet.Auto)] 827[DllImport(ExternDll.User32, ExactSpelling = true, EntryPoint = "EndPaint", CharSet = CharSet.Auto)] 835[DllImport(ExternDll.User32, SetLastError = true, ExactSpelling = true, EntryPoint = "GetDC", CharSet = CharSet.Auto)] 848[DllImport(ExternDll.User32, ExactSpelling = true, EntryPoint = "ReleaseDC", CharSet = CharSet.Auto)] 857[DllImport(ExternDll.Gdi32, SetLastError = true, ExactSpelling = true, CharSet = CharSet.Auto)] 860[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 863[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 867[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)] 881[DllImport(ExternDll.User32, ExactSpelling = true, EntryPoint = "DestroyCursor", CharSet = CharSet.Auto)] 954[DllImport(ExternDll.Gdi32, SetLastError = true, ExactSpelling = true, CharSet = CharSet.Auto, EntryPoint = "CreateBitmap")] 969[DllImport(ExternDll.User32, SetLastError = true, ExactSpelling = true, CharSet = CharSet.Auto, EntryPoint = "CreateIconIndirect")] 984[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)]
WindowsFormsIntegration (9)
MS\Win32\SafeNativeMethods.cs (2)
28[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)] 32[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)]
MS\Win32\UnsafeNativeMethods.cs (6)
12[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 16[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 20[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 24[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] [return: MarshalAs(UnmanagedType.Bool)] 36[DllImport(ExternDll.Gdi32, ExactSpelling = true, CharSet = CharSet.Auto)] 51[DllImport(ExternDll.Gdi32, ExactSpelling = true, CharSet = CharSet.Auto)]
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsSetLastError.cs (1)
35[DllImport(PresentationNativeDll, EntryPoint="EnableWindowWrapper", SetLastError = true, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)]
WinFormsControlsTest (1)
ScalingBeforeChanges.cs (1)
21[DllImport("user32", ExactSpelling = true)]
10 references to ExactSpelling
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
InteractiveSessionTests.cs (1)
284Assert.True(dllImport.ExactSpelling);
Microsoft.Interop.LibraryImportGenerator (4)
Analyzers\ConvertToLibraryImportFixer.cs (2)
153nameof(DllImportAttribute.ExactSpelling), 500else if (IsMatchingNamedArg(attrArg, nameof(DllImportAttribute.ExactSpelling)))
LibraryImportGenerator.cs (2)
467NameEquals(nameof(DllImportAttribute.ExactSpelling)), 492NameEquals(nameof(DllImportAttribute.ExactSpelling)),
Microsoft.Interop.LibraryImportGenerator.Downlevel (2)
DownlevelLibraryImportGenerator.cs (2)
342NameEquals(nameof(DllImportAttribute.ExactSpelling)), 367NameEquals(nameof(DllImportAttribute.ExactSpelling)),
System.Private.CoreLib (1)
src\System\Reflection\RuntimeCustomAttributeData.cs (1)
329new CustomAttributeNamedArgument(type.GetField("ExactSpelling")!, dllImport.ExactSpelling),
System.Reflection.MetadataLoadContext (2)
System\Reflection\TypeLoading\Methods\RoDefinitionMethod.DllImport.cs (2)
45attributeType.ToCustomAttributeNamedArgument(nameof(DllImportAttribute.ExactSpelling), ct[CoreType.Boolean], dia.ExactSpelling),