18 references to Error
Microsoft.CodeAnalysis.Test.Utilities (2)
Platform\Desktop\CLRHelpers.cs (2)
249[In, MarshalAs(UnmanagedType.Error)] int hVECode, 259void VEHandler([In, MarshalAs(UnmanagedType.Error)] int VECode, [In] tag_VerError Context, [In, MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_VARIANT)] Array psa);
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)
297generator.IdentifierName(nameof(UnmanagedType.Error)))));
Microsoft.Interop.LibraryImportGenerator (1)
src\libraries\System.Runtime.InteropServices\gen\Common\ConvertToSourceGeneratedInteropFixer.cs (1)
297generator.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, _) }
Microsoft.VisualStudio.LanguageServices.CSharp (1)
ProjectSystemShim\Interop\ICSCompilerConfig.cs (1)
42[return: MarshalAs(UnmanagedType.Error)]
Microsoft.VisualStudio.LanguageServices.VisualBasic (5)
ProjectSystemShim\Interop\IVbCompilerProject.vb (5)
81) As <MarshalAs(UnmanagedType.Error)> Integer 175) As <MarshalAs(UnmanagedType.Error)> Integer 193) As <MarshalAs(UnmanagedType.Error)> Integer 203) As <MarshalAs(UnmanagedType.Error)> Integer 269) As <MarshalAs(UnmanagedType.Error)> Integer
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)]