29 references to Win32Res
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (3)
CommandLineTests.cs (3)
7838Assert.Throws<Win32Exception>(() => Win32Res.GetResource(lib, resourceId, resourceType, out manifestSize)); 7842IntPtr manifestResourcePointer = Win32Res.GetResource(lib, resourceId, resourceType, out manifestSize); 7843string actualManifest = Win32Res.ManifestResourceToXml(manifestResourcePointer, manifestSize);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (11)
Emit\ResourceTests.cs (11)
66IntPtr versionRsrc = Win32Res.GetResource(lib, "#1", "#16", out size); 67versionData = Win32Res.VersionResourceToXml(versionRsrc); 70IntPtr mftRsrc = Win32Res.GetResource(lib, "#1", "#24", out mftSize); 71mftData = Win32Res.ManifestResourceToXml(mftRsrc, mftSize); 157IntPtr versionRsrc = Win32Res.GetResource(lib, "#1", "#16", out size); 158versionData = Win32Res.VersionResourceToXml(versionRsrc); 161IntPtr stringTable = Win32Res.GetResource(lib, "#1", "#6", out stringTableSize); 165IntPtr elevenRsrc = Win32Res.GetResource(lib, "#1", "#11", out elevenSize); 169IntPtr wevtRsrc = Win32Res.GetResource(lib, "#1", "WEVT_TEMPLATE", out wevtSize); 854IntPtr versionRsrc = Win32Res.GetResource(lib, "#1", "#16", out size); 855versionData = Win32Res.VersionResourceToXml(versionRsrc);
Microsoft.CodeAnalysis.UnitTests (1)
Win32Res.cs (1)
149rsrcInXml = Win32Res.VersionResourceToXml((IntPtr)p);
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (3)
CommandLineTests.vb (3)
6862Assert.Throws(Of Win32Exception)(Function() Win32Res.GetResource(library, resourceId, resourceType, manifestSize)) 6864Dim manifestResourcePointer As IntPtr = Win32Res.GetResource(library, resourceId, resourceType, manifestSize) 6865Dim actualManifest As String = Win32Res.ManifestResourceToXml(manifestResourcePointer, manifestSize)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (11)
Emit\ResourceTests.vb (11)
57Dim versionRsrc As IntPtr = Win32Res.GetResource([lib], "#1", "#16", size) 58versionData = Win32Res.VersionResourceToXml(versionRsrc) 60Dim mftRsrc As IntPtr = Win32Res.GetResource([lib], "#1", "#24", mftSize) 61mftData = Win32Res.ManifestResourceToXml(mftRsrc, mftSize) 142Dim rsrc As IntPtr = Win32Res.GetResource([lib], "#1", "#16", size) 143versionData = Win32Res.VersionResourceToXml(rsrc) 145rsrc = Win32Res.GetResource([lib], "#1", "#6", size) 148rsrc = Win32Res.GetResource([lib], "#1", "#11", size) 151rsrc = Win32Res.GetResource([lib], "#1", "WEVT_TEMPLATE", size) 342Dim versionRsrc As IntPtr = Win32Res.GetResource([lib], "#1", "#16", size) 343versionData = Win32Res.VersionResourceToXml(versionRsrc)