15 references to Error
ILAssembler (1)
Actions\GrammarActions.Marshalling.Actions.cs (1)
469CILParser.ERROR => UnmanagedType.Error,
Microsoft.Interop.ComInterfaceGenerator (2)
Marshallers\StructAsHResultMarshallerFactory.cs (1)
15if (info is { ManagedType: ValueTypeInfo, MarshallingAttributeInfo: MarshalAsInfo(UnmanagedType.Error, _) })
parent\Common\ConvertToSourceGeneratedInteropFixer.cs (1)
293generator.IdentifierName(nameof(UnmanagedType.Error)))));
Microsoft.Interop.LibraryImportGenerator (1)
parent\Common\ConvertToSourceGeneratedInteropFixer.cs (1)
293generator.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)
477void Close([MarshalAs(UnmanagedType.Error)] int hr); 538new void Close([MarshalAs(UnmanagedType.Error)] int hr); 586new void Close([MarshalAs(UnmanagedType.Error)] int hr); 632new void Close([MarshalAs(UnmanagedType.Error)] int hr);
ReachFramework (1)
Serialization\RCW\PrintDocumentPackageStatus.cs (1)
21[MarshalAs(UnmanagedType.Error)]
System.Management (4)
System\Management\InteropClasses\WMIInterop.cs (4)
618[PreserveSig] int SetStatus_([In] int lFlags, [In][MarshalAs(UnmanagedType.Error)] int hResult, [In][MarshalAs(UnmanagedType.BStr)] string strParam, [In] IntPtr pObjParam); 691[PreserveSig] int GetErrorCodeText_([In][MarshalAs(UnmanagedType.Error)] int hRes, [In] uint LocaleId, [In] int lFlags, [Out][MarshalAs(UnmanagedType.BStr)] out string MessageText); 692[PreserveSig] int GetFacilityCodeText_([In][MarshalAs(UnmanagedType.Error)] int hRes, [In] uint LocaleId, [In] int lFlags, [Out][MarshalAs(UnmanagedType.BStr)] out string MessageText); 711[PreserveSig] int SetStatus_([In] int lFlags, [In][MarshalAs(UnmanagedType.Error)] int hResult, [In][MarshalAs(UnmanagedType.BStr)] string strParam, [In][MarshalAs(UnmanagedType.Interface)] IWbemClassObject_DoNotMarshal pObjParam);