10 references to Error
Microsoft.Interop.ComInterfaceGenerator (2)
Marshallers\StructAsHResultMarshallerFactory.cs (1)
20if (info is { ManagedType: ValueTypeInfo, MarshallingAttributeInfo: MarshalAsInfo(UnmanagedType.Error, _) })
src\libraries\System.Runtime.InteropServices\gen\Common\ConvertToSourceGeneratedInteropFixer.cs (1)
290generator.IdentifierName(nameof(UnmanagedType.Error)))));
Microsoft.Interop.LibraryImportGenerator (1)
src\libraries\System.Runtime.InteropServices\gen\Common\ConvertToSourceGeneratedInteropFixer.cs (1)
290generator.IdentifierName(nameof(UnmanagedType.Error)))));
Microsoft.Interop.SourceGeneration (2)
Marshalling\MarshalAsMarshallingGeneratorResolver.cs (2)
45or { ManagedType: SpecialTypeInfo { SpecialType: SpecialType.System_Int32 }, MarshallingAttributeInfo: NoMarshallingInfo or MarshalAsInfo(UnmanagedType.I4 or UnmanagedType.Error, _) } 46or { ManagedType: SpecialTypeInfo { SpecialType: SpecialType.System_UInt32 }, MarshallingAttributeInfo: NoMarshallingInfo or MarshalAsInfo(UnmanagedType.U4 or UnmanagedType.Error, _) }
PresentationFramework (4)
MS\Internal\AppModel\ShellProvider.cs (4)
473void Close([MarshalAs(UnmanagedType.Error)] int hr); 534new void Close([MarshalAs(UnmanagedType.Error)] int hr); 582new void Close([MarshalAs(UnmanagedType.Error)] int hr); 628new void Close([MarshalAs(UnmanagedType.Error)] int hr);
ReachFramework (1)
Serialization\RCW\PrintDocumentPackageStatus.cs (1)
23[MarshalAs(UnmanagedType.Error)]