12 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)
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.Implementation (1)
CodeModel\Interop\ICodeElements.cs (1)
37[return: MarshalAs(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)]