4 writes to SetLastError
Microsoft.Interop.ComInterfaceGenerator (2)
GeneratedComInterfaceAttributeData.cs (1)
22SetLastError = generatedComInterfaceAttr.SetLastError,
VirtualMethodIndexData.cs (1)
29SetLastError = virtualMethodIndex.SetLastError,
Microsoft.Interop.LibraryImportGenerator (1)
src\libraries\System.Runtime.InteropServices\gen\Common\LibraryImportData.cs (1)
19SetLastError = libraryImport.SetLastError,
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
src\libraries\System.Runtime.InteropServices\gen\Common\LibraryImportData.cs (1)
19SetLastError = libraryImport.SetLastError,
6 references to SetLastError
Microsoft.Interop.ComInterfaceGenerator (1)
VirtualMethodPointerStubGenerator.cs (1)
39methodStub.VtableIndexData.SetLastError,
Microsoft.Interop.LibraryImportGenerator (2)
LibraryImportGenerator.cs (2)
333pinvokeStub.LibraryImportData.SetLastError && !options.GenerateForwarders, 498ExpressionSyntax value = CreateBoolExpressionSyntax(target.SetLastError);
Microsoft.Interop.LibraryImportGenerator.Downlevel (3)
DownlevelLibraryImportGenerator.cs (3)
239pinvokeStub.LibraryImportData.SetLastError, 248|| pinvokeStub.LibraryImportData.SetLastError) 386ExpressionSyntax value = CreateBoolExpressionSyntax(target.SetLastError);