2 writes to SetLastError
Microsoft.Interop.LibraryImportGenerator (1)
Analyzers\ConvertToLibraryImportAnalyzer.cs (1)
220interopData = interopData with { IsUserDefined = interopData.IsUserDefined | InteropAttributeMember.SetLastError, SetLastError = true };
Microsoft.Interop.SourceGeneration (1)
InteropAttributeData.cs (1)
94SetLastError = setLastError,
5 references 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,
Microsoft.Interop.SourceGeneration (1)
InteropAttributeData.cs (1)
62if (namedArguments.TryGetValue(nameof(InteropAttributeCompilationData.SetLastError), out TypedConstant setLastErrorValue))