235 references to Auto
Microsoft.Build.Framework (5)
NativeMethods.cs (5)
286[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
1766[DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)]
1778[DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)]
1782[DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)]
1801[DllImport("kernel32.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall,
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Microsoft.CodeAnalysis.EditorFeatures (1)
Microsoft.CodeAnalysis.Remote.Workspaces (1)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (3)
Attributes\AttributeTests_WellKnownAttributes.vb (3)
1889New With {.n = 10, .attr = MakeDllImport(charSet:=CharSet.Auto), .expected = MethodImportAttributes.CallingConventionWinApi Or MethodImportAttributes.CharSetAuto},
1898New With {.n = 17, .attr = MakeDllImport(charSet:=CharSet.Auto, exactSpelling:=True), .expected = MethodImportAttributes.CallingConventionWinApi Or MethodImportAttributes.ExactSpelling Or MethodImportAttributes.CharSetAuto},
1899New With {.n = 18, .attr = MakeDllImport(charSet:=CharSet.Auto, exactSpelling:=False), .expected = MethodImportAttributes.CallingConventionWinApi Or MethodImportAttributes.CharSetAuto},
Microsoft.DotNet.SignCheckLibrary (4)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Microsoft.Interop.LibraryImportGenerator (4)
Microsoft.ML.Mkl.Components (1)
Microsoft.ML.TimeSeries (5)
FftUtils.cs (5)
170[DllImport(DllProxyName, EntryPoint = "MKLDftiCreateDescriptor", CharSet = CharSet.Auto), SuppressUnmanagedCodeSecurity]
182[DllImport(DllProxyName, EntryPoint = "MKLDftiSetValue", CharSet = CharSet.Auto), SuppressUnmanagedCodeSecurity]
186[DllImport(DllProxyName, EntryPoint = "MKLDftiComputeForward", CharSet = CharSet.Auto), SuppressUnmanagedCodeSecurity]
190[DllImport(DllProxyName, EntryPoint = "MKLDftiComputeBackward", CharSet = CharSet.Auto), SuppressUnmanagedCodeSecurity]
202[DllImport(MklPath, EntryPoint = "DftiErrorMessage", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Auto), SuppressUnmanagedCodeSecurity]
Microsoft.VisualBasic.Forms (7)
Microsoft.VisualStudio.LanguageServices (3)
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
PresentationCore (12)
PresentationFramework (6)
MS\Internal\Printing\NativeMethods.cs (5)
25[StructLayout(LayoutKind.Sequential, Pack = 1, CharSet = CharSet.Auto)]
51[StructLayout(LayoutKind.Sequential, Pack = 8, CharSet = CharSet.Auto)]
77[StructLayout(LayoutKind.Sequential, Pack = 1, CharSet = CharSet.Auto)]
119[StructLayout(LayoutKind.Sequential, Pack = 1, CharSet = CharSet.Auto)]
128[StructLayout(LayoutKind.Sequential, Pack = 1, CharSet = CharSet.Auto)]
ReachFramework (2)
System.Drawing.Common.Tests (2)
System.Private.CoreLib (3)
System.Reflection.Emit (2)
System.Reflection.MetadataLoadContext (2)
System.Windows.Controls.Ribbon (7)
Microsoft\Windows\Controls\Ribbon\NativeMethods.cs (7)
282[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto, Pack = 4)]
320[DllImport("user32.dll", EntryPoint = "GetMonitorInfo", CharSet = CharSet.Auto, SetLastError = 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)]
UIAutomationClient (40)
MS\Win32\SafeNativeMethods.cs (16)
21[DllImport("user32.dll", ExactSpelling=true, CharSet=System.Runtime.InteropServices.CharSet.Auto)]
112[DllImport("user32.dll", CharSet=CharSet.Auto)]
122[DllImport("user32.dll", CharSet=CharSet.Auto)]
142[DllImport("user32.dll", CharSet=CharSet.Auto)]
145[DllImport("user32.dll", CharSet=CharSet.Auto)]
154[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
157[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
160[DllImport("user32.dll", CharSet=CharSet.Auto)]
176[DllImport("gdi32.dll", CharSet = CharSet.Auto, SetLastError = true)]
179[DllImport("user32.dll", CharSet=CharSet.Auto)]
182[DllImport("gdi32.dll", CharSet = CharSet.Auto)]
191[DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)]
198[DllImport("Psapi.dll", CharSet = CharSet.Auto, SetLastError = true)]
206[DllImport("user32.dll", CharSet=CharSet.Auto)]
212[DllImport("user32.dll", CharSet = CharSet.Auto)]
218[DllImport("kernel32.dll", CharSet = CharSet.Auto)]
MS\Win32\UnsafeNativeMethods.cs (20)
36[DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)]
95[DllImport("user32.dll", CharSet=CharSet.Auto)]
98[DllImport("user32.dll", CharSet=CharSet.Auto)]
106[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
109[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
166[DllImport("user32.dll", EntryPoint = "WindowFromPoint", ExactSpelling = true, CharSet = CharSet.Auto)]
169[DllImport("user32.dll", EntryPoint = "WindowFromPhysicalPoint", ExactSpelling = true, CharSet = CharSet.Auto)]
187[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
191[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
197[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
217[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
221[DllImport("user32.dll", CharSet=CharSet.Auto)]
225[DllImport("user32.dll", CharSet=CharSet.Auto)]
229[DllImport("user32.dll", CharSet=CharSet.Auto)]
233[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
325[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
328[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
335[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
338[DllImport("user32.dll", ExactSpelling = true, CharSet = CharSet.Auto)]
360[DllImport("gdi32.dll", CharSet = CharSet.Auto, SetLastError = true)]
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsSetLastError.cs (4)
40[DllImport(PresentationNativeDll, EntryPoint="GetWindowLongWrapper", CharSet=CharSet.Auto, SetLastError=true)]
43[DllImport(PresentationNativeDll, EntryPoint="GetWindowLongPtrWrapper", CharSet=CharSet.Auto, 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 (18)
MS\Win32\UnsafeNativeMethods.cs (6)
40[DllImport(ExternDll.Kernel32, ExactSpelling = true, CharSet = CharSet.Auto)]
42[DllImport(ExternDll.Kernel32, ExactSpelling = true, CharSet = CharSet.Auto)]
231[DllImport(ExternDll.User32, CharSet = CharSet.Auto, ExactSpelling = true, SetLastError = true)]
233[DllImport(ExternDll.User32, CharSet = CharSet.Auto, 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)]
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsSetLastError.cs (4)
40[DllImport(PresentationNativeDll, EntryPoint="GetWindowLongWrapper", CharSet=CharSet.Auto, SetLastError=true)]
43[DllImport(PresentationNativeDll, EntryPoint="GetWindowLongPtrWrapper", CharSet=CharSet.Auto, SetLastError=true)]
65[DllImport(PresentationNativeDll, EntryPoint="GetAncestorWrapper", CharSet = CharSet.Auto)]
80[DllImport(PresentationNativeDll, EntryPoint = "GetWindowTextWrapper", CharSet=CharSet.Auto, BestFitMapping = false, SetLastError = true)]
UIAutomationTypes (89)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsSetLastError.cs (18)
95[DllImport(PresentationNativeDll, EntryPoint="EnableWindowWrapper", SetLastError = true, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)]
98[DllImport(PresentationNativeDll, EntryPoint="GetAncestorWrapper", CharSet = CharSet.Auto)]
101[DllImport(PresentationNativeDll, EntryPoint="GetKeyboardLayoutListWrapper", SetLastError = true, ExactSpelling=true, CharSet=CharSet.Auto)]
110[DllImport(PresentationNativeDll, EntryPoint="GetWindowLongWrapper", CharSet=CharSet.Auto, SetLastError=true)]
113[DllImport(PresentationNativeDll, EntryPoint="GetWindowLongWrapper", CharSet=CharSet.Auto, SetLastError=true)]
116[DllImport(PresentationNativeDll, EntryPoint="GetWindowLongWrapper", CharSet=CharSet.Auto, SetLastError=true)]
119[DllImport(PresentationNativeDll, EntryPoint="GetWindowLongPtrWrapper", CharSet=CharSet.Auto, SetLastError=true)]
122[DllImport(PresentationNativeDll, EntryPoint="GetWindowLongPtrWrapper", CharSet=CharSet.Auto, SetLastError=true)]
125[DllImport(PresentationNativeDll, EntryPoint="GetWindowLongPtrWrapper", CharSet=CharSet.Auto, SetLastError=true)]
128[DllImport(PresentationNativeDll, EntryPoint = "GetWindowTextWrapper", CharSet=CharSet.Auto, BestFitMapping = false, SetLastError = true)]
131[DllImport(PresentationNativeDll, EntryPoint = "GetWindowTextLengthWrapper", CharSet = System.Runtime.InteropServices.CharSet.Auto, SetLastError = true)]
134[DllImport(PresentationNativeDll, EntryPoint="MapWindowPointsWrapper", SetLastError = true, ExactSpelling=true, CharSet=CharSet.Auto)]
140[DllImport(PresentationNativeDll, EntryPoint="SetWindowLongWrapper", CharSet=CharSet.Auto)]
143[DllImport(PresentationNativeDll, EntryPoint="SetWindowLongWrapper", CharSet=CharSet.Auto)]
146[DllImport(PresentationNativeDll, EntryPoint="SetWindowLongWrapper", CharSet=CharSet.Auto, SetLastError=true)]
149[DllImport(PresentationNativeDll, EntryPoint="SetWindowLongPtrWrapper", CharSet=CharSet.Auto)]
152[DllImport(PresentationNativeDll, EntryPoint="SetWindowLongPtrWrapper", CharSet=CharSet.Auto)]
155[DllImport(PresentationNativeDll, EntryPoint="SetWindowLongPtrWrapper", CharSet=CharSet.Auto, SetLastError=true)]
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\UnsafeNativeMethodsCLR.cs (62)
45[DllImport(ExternDll.Uxtheme, CharSet = CharSet.Auto, BestFitMapping = false)]
53[DllImport(ExternDll.User32, EntryPoint = "SetWindowPos", ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)]
56[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)]
59[DllImport(ExternDll.Shcore, CharSet = CharSet.Auto, SetLastError = true)]
62[DllImport(ExternDll.User32, EntryPoint = "IsProcessDPIAware", CharSet = CharSet.Auto, SetLastError = true)]
65[DllImport(ExternDll.Kernel32, CharSet = CharSet.Auto, SetLastError = true)]
68[DllImport(ExternDll.User32, EntryPoint = "EnableNonClientDpiScaling", CharSet = CharSet.Auto, SetLastError = true)]
71[DllImport(ExternDll.User32, SetLastError = true, CharSet = CharSet.Auto, BestFitMapping = false)]
74[DllImport(ExternDll.User32, SetLastError = true, CharSet = CharSet.Auto, BestFitMapping = false)]
77[DllImport(ExternDll.Uxtheme, CharSet = CharSet.Auto, BestFitMapping = false, EntryPoint = "SetWindowTheme")]
80[DllImport(ExternDll.Gdi32, SetLastError = true, ExactSpelling = true, EntryPoint = "CreateCompatibleBitmap", CharSet = CharSet.Auto)]
83[DllImport(ExternDll.Gdi32, EntryPoint = "GetStockObject", SetLastError = true, CharSet = CharSet.Auto)]
86[DllImport(ExternDll.User32, EntryPoint = "FillRect", SetLastError = true, 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)]
117[DllImport(ExternDll.Shell32, CharSet = CharSet.Auto, BestFitMapping = false)]
232[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)]
235[DllImport(ExternDll.Ole32, ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)]
238[DllImport(ExternDll.Kernel32, EntryPoint = "CloseHandle", CharSet = CharSet.Auto, SetLastError = true)]
261[DllImport(ExternDll.Kernel32, EntryPoint = "UnmapViewOfFile", CharSet = CharSet.Auto, SetLastError = true)]
303[DllImport(ExternDll.Gdi32, SetLastError = true, CharSet = CharSet.Auto)]
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)]
498[DllImport(ExternDll.Kernel32, EntryPoint = "GetModuleHandle", CharSet = CharSet.Auto, BestFitMapping = false, ThrowOnUnmappableChar = true, SetLastError = true)]
513[DllImport(ExternDll.User32, CharSet = CharSet.Auto)]
750[DllImport(ExternDll.User32, SetLastError = true, CharSet = CharSet.Auto, BestFitMapping = false)]
753[DllImport(ExternDll.User32, SetLastError = true, CharSet = CharSet.Auto, BestFitMapping = false)]
756[DllImport(ExternDll.User32, SetLastError = true, CharSet = CharSet.Auto, BestFitMapping = false)]
759[DllImport(ExternDll.User32, SetLastError = true, CharSet = CharSet.Auto, BestFitMapping = false)]
762[DllImport(ExternDll.User32, SetLastError = true, CharSet = CharSet.Auto, BestFitMapping = false)]
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)]
889[DllImport(ExternDll.User32, EntryPoint = "DestroyIcon", CharSet = CharSet.Auto, SetLastError = true)]
910[DllImport(ExternDll.Gdi32, EntryPoint = "DeleteObject", CharSet = CharSet.Auto, SetLastError = true)]
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)]
1041[DllImport(ExternDll.User32, EntryPoint = "CreateWindowEx", CharSet = CharSet.Auto, BestFitMapping = false, SetLastError = true)]
1060[DllImport(ExternDll.User32, SetLastError = true, EntryPoint = "DestroyWindow", CharSet = CharSet.Auto)]
2653[DllImport(ExternDll.User32, SetLastError = true, CharSet = CharSet.Auto)]
2659[DllImport(ExternDll.User32, SetLastError = true, CharSet = CharSet.Auto)]
WindowsFormsIntegration (12)