4 references to SetLastError
Microsoft.Interop.LibraryImportGenerator (2)
Analyzers\ConvertToLibraryImportAnalyzer.cs (1)
220interopData = interopData with { IsUserDefined = interopData.IsUserDefined | InteropAttributeMember.SetLastError, SetLastError = true };
LibraryImportGenerator.cs (1)
505if (target.IsUserDefined.HasFlag(InteropAttributeMember.SetLastError))
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
DownlevelLibraryImportGenerator.cs (1)
383if (target.IsUserDefined.HasFlag(InteropAttributeMember.SetLastError))
Microsoft.Interop.SourceGeneration (1)
InteropAttributeData.cs (1)
64userDefinedValues |= InteropAttributeMember.SetLastError;