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);
HelixTestRunner (1)
artifacts\obj\HelixTestRunner\Release\net10.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.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)
69Marshal.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.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 (84)
LibraryImports.g.cs (79)
4018global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 4067global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 4826global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 4849global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 4902global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 5152global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 5175global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 5198global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 5221global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 5690global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 5732global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 5774global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 5820global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 5869global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 5895global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 5934global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 5983global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6029global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6071global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6120global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6166global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6211global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6240global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6302global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6340global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6378global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6416global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6439global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6482global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6597global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6685global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6708global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6746global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6784global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6828global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6901global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 6949global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7015global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7055global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7093global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7131global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7190global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7228global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7352global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7433global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7456global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7479global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7517global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7540global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7563global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7624global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7662global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7734global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7772global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7810global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7848global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7886global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7924global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7962global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 7993global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 8019global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 8062global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 8088global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 8126global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 8175global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 8216global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 8257global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 8284global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 8311global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 8354global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 8377global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 8482global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 8520global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 8558global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 8596global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 8619global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 8658global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 8759global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError); 8838global::System.Runtime.InteropServices.Marshal.SetLastPInvokeError(__lastError);
src\libraries\Common\src\Interop\Unix\System.Native\Interop.ReadLink.cs (1)
69Marshal.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)
79Marshal.SetLastPInvokeError(lastError); 268Marshal.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)
69Marshal.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()); 2074 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 2282 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 2322 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 2366 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 2418 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 2463 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 2531 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 2582 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 2643 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 2678 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 2695 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 2784 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 2843 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 2918 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 2964 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3010 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3034 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3094 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3118 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3167 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3201 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3229 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3258 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3288 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3358 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3413 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3441 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3480 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3523 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3582 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3621 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3706 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3776 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError()); 3904 Marshal.SetLastPInvokeError(Marshal.GetLastSystemError());