370 references to SetLastPInvokeError
Aspire.Hosting (1)
LibraryImports.g.cs (1)
18global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
Aspire.Hosting.Azure (1)
LibraryImports.g.cs (1)
18global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
Aspire.Hosting.Docker (1)
LibraryImports.g.cs (1)
18global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
HelixTestRunner (1)
artifacts\obj\HelixTestRunner\Release\net11.0\Microsoft.Interop.LibraryImportGenerator\Microsoft.Interop.LibraryImportGenerator\LibraryImports.g.cs (1)
18global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
IIS.Tests (9)
LibraryImports.g.cs (9)
51global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 126global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 173global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 223global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 776global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 819global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 846global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 873global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 916global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
Interop.FunctionalTests (9)
LibraryImports.g.cs (9)
51global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 126global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 173global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 223global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 776global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 819global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 846global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 873global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 916global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
Microsoft.AspNetCore.Cryptography.Internal (9)
LibraryImports.g.cs (9)
51global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 126global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 173global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 223global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 776global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 819global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 846global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 873global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 916global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
Microsoft.AspNetCore.Server.HttpSys (9)
LibraryImports.g.cs (9)
41global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 85global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 124global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 168global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 207global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 251global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 295global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 367global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 417global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
Microsoft.AspNetCore.Server.IIS (1)
LibraryImports.g.cs (1)
21global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
Microsoft.AspNetCore.Server.IISIntegration (9)
LibraryImports.g.cs (9)
51global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 126global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 173global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 223global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 776global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 819global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 846global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 873global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 916global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (9)
LibraryImports.g.cs (9)
51global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 126global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 173global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 223global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 776global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 819global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 846global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 873global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 916global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
Microsoft.DotNet.Build.Tasks.Feed (2)
LibraryImports.g.cs (2)
24global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 51global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
Microsoft.Extensions.Hosting.Systemd (4)
LibraryImports.g.cs (4)
96global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 137global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 178global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 219global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
Microsoft.Extensions.Hosting.WindowsServices (4)
LibraryImports.g.cs (4)
96global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 137global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 178global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 219global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
Microsoft.Extensions.Logging.Console (2)
LibraryImports.g.cs (2)
24global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 51global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
System.Console (4)
LibraryImports.g.cs (4)
96global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 137global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 178global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 219global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
System.Data.Odbc (4)
LibraryImports.g.cs (4)
96global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 137global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 178global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 219global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
System.Diagnostics.FileVersionInfo (4)
LibraryImports.g.cs (4)
96global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 137global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 178global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 219global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
System.Diagnostics.Process (5)
LibraryImports.g.cs (4)
96global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 137global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 178global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 219global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
src\libraries\Common\src\Interop\Unix\System.Native\Interop.ReadLink.cs (1)
66Marshal.SetLastPInvokeError(error);
System.DirectoryServices.Protocols (4)
LibraryImports.g.cs (4)
96global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 137global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 178global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 219global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
System.Drawing.Common (2)
Windows.Win32.PInvoke.USER32.dll.g.cs (1)
64 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError());
Windows.Win32.PInvoke.winspool.drv.g.cs (1)
104 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError());
System.Formats.Tar (4)
LibraryImports.g.cs (4)
96global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 137global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 178global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 219global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
System.IO.Compression (4)
LibraryImports.g.cs (4)
96global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 137global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 178global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 219global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
System.IO.Compression.Brotli (4)
LibraryImports.g.cs (4)
96global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 137global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 178global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 219global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
System.IO.Compression.ZipFile (4)
LibraryImports.g.cs (4)
96global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 137global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 178global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 219global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
System.IO.Compression.Zstandard (4)
LibraryImports.g.cs (4)
96global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 137global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 178global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 219global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
System.IO.FileSystem.DriveInfo (4)
LibraryImports.g.cs (4)
96global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 137global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 178global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 219global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
System.IO.FileSystem.Watcher (4)
LibraryImports.g.cs (4)
96global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 137global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 178global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 219global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
System.IO.MemoryMappedFiles (4)
LibraryImports.g.cs (4)
96global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 137global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 178global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 219global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
System.IO.Pipes (4)
LibraryImports.g.cs (4)
96global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 137global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 178global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 219global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
System.IO.Ports (4)
LibraryImports.g.cs (4)
96global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 137global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 178global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 219global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
System.Net.NameResolution (4)
LibraryImports.g.cs (4)
96global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 137global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 178global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 219global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
System.Net.NetworkInformation (4)
LibraryImports.g.cs (4)
96global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 137global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 178global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 219global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
System.Net.Ping (4)
LibraryImports.g.cs (4)
96global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 137global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 178global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 219global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
System.Net.Primitives (4)
LibraryImports.g.cs (4)
96global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 137global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 178global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 219global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
System.Net.Quic (4)
LibraryImports.g.cs (4)
96global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 137global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 178global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 219global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
System.Net.Security (4)
LibraryImports.g.cs (4)
96global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 137global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 178global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 219global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
System.Net.Sockets (4)
LibraryImports.g.cs (4)
96global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 137global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 178global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 219global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
System.Private.CoreLib (77)
LibraryImports.g.cs (72)
4536global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 4559global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 4612global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 4862global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 4885global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 4908global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 4931global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 5400global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 5445global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 5507global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 5545global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 5583global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 5621global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 5644global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 5687global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 5802global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 5896global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 5919global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 5957global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 5995global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6039global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6112global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6160global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6226global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6266global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6304global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6342global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6401global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6439global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6563global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6657global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6680global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6703global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6741global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6764global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6787global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6848global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6886global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6958global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6996global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7034global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7072global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7110global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7148global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7186global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7217global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7257global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7300global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7338global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7387global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7428global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7469global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7510global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7551global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7594global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7617global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7722global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7760global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7798global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7836global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7859global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7898global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7999global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 8078global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 8133global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 8156global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 8179global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 8202global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 8237global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 8259global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 8285global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 8311global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
src\libraries\Common\src\Interop\Unix\System.Native\Interop.ReadLink.cs (1)
66Marshal.SetLastPInvokeError(error);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\CriticalHandle.cs (1)
153Marshal.SetLastPInvokeError(lastError);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\SafeHandle.cs (2)
72Marshal.SetLastPInvokeError(lastError); 261Marshal.SetLastPInvokeError(lastError);
src\System\Runtime\InteropServices\Marshal.CoreCLR.cs (1)
203/// invoke that was configured to set the last error or a call to <see cref="SetLastPInvokeError(int)" />.
System.Private.Windows.Core (30)
Windows.Win32.PInvokeCore.GDI32.dll.g.cs (2)
52 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 240 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError());
Windows.Win32.PInvokeCore.KERNEL32.dll.g.cs (10)
42 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 66 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 114 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 138 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 168 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 192 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 216 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 240 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 286 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 343 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError());
Windows.Win32.PInvokeCore.USER32.dll.g.cs (18)
113 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 166 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 220 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 350 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 386 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 418 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 493 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 529 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 635 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 667 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 692 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 736 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 776 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 932 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 967 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 1017 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 1054 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 1079 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError());
System.Security.Cryptography (5)
LibraryImports.g.cs (4)
96global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 137global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 178global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 219global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
src\libraries\Common\src\Interop\Unix\System.Native\Interop.ReadLink.cs (1)
66Marshal.SetLastPInvokeError(error);
System.Security.Cryptography.ProtectedData (4)
LibraryImports.g.cs (4)
96global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 137global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 178global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 219global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
System.Windows.Forms.Primitives (92)
Windows.Win32.PInvoke.KERNEL32.dll.g.cs (15)
56 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 78 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 114 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 141 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 185 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 236 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 257 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 321 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 366 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 395 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 431 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 469 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 513 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 568 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 619 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError());
Windows.Win32.PInvoke.POWRPROF.dll.g.cs (1)
48 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError());
Windows.Win32.PInvoke.USER32.dll.g.cs (76)
44 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 69 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 116 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 149 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 183 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 204 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 315 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 339 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 390 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 414 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 431 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 516 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 605 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 629 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 732 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 850 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 898 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 1002 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 1088 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 1124 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 1170 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 1202 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 1237 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 1273 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 1319 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 1344 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 1380 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 1469 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 1506 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 1559 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 1606 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 1659 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 1706 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 1739 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 1763 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 1783 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 1825 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 1864 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 1938 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 1960 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 2000 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 2050 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 2089 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 2297 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 2337 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 2381 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 2433 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 2478 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 2546 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 2597 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 2658 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 2693 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 2710 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 2799 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 2858 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 2933 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 2979 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3025 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3049 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3109 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3133 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3182 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3216 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3244 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3273 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3303 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3373 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3428 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3456 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3495 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3538 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3597 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3636 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3721 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3791 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3919 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError());