Click or drag to resize

DesktopAssemblyIdentityComparerLoadFromXml Method



Loads AssemblyPortabilityPolicy information from XML with app.config schema.

Namespace:  Microsoft.CodeAnalysis
Assembly:  Microsoft.CodeAnalysis (in Microsoft.CodeAnalysis.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public static DesktopAssemblyIdentityComparer LoadFromXml(
	Stream input
)

Parameters

input
Type: System.IOStream

Return Value

Type: DesktopAssemblyIdentityComparer
Exceptions
ExceptionCondition
XmlExceptionThe stream doesn't contain a well formed XML.
ArgumentNullExceptioninput is null.
Remarks
Tries to find supportPortability elements in the given XML: <configuration> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <supportPortability PKT="7cec85d7bea7798e" enable="false"/> <supportPortability PKT="31bf3856ad364e35" enable="false"/> </assemblyBinding> </runtime> </configuration> Keeps the stream open.
See Also