1 instantiation of AssemblyPortabilityPolicy
Microsoft.CodeAnalysis (1)
Desktop\AssemblyPortabilityPolicy.cs (1)
108
return new
AssemblyPortabilityPolicy
(suppressPlatform, suppressLibrary);
13 references to AssemblyPortabilityPolicy
Microsoft.CodeAnalysis (12)
Desktop\AssemblyPortabilityPolicy.cs (6)
16
internal readonly struct AssemblyPortabilityPolicy : IEquatable<
AssemblyPortabilityPolicy
>
34
return obj is
AssemblyPortabilityPolicy
&& Equals((
AssemblyPortabilityPolicy
)obj);
37
public bool Equals(
AssemblyPortabilityPolicy
other)
59
internal static
AssemblyPortabilityPolicy
LoadFromXml(Stream input)
72
return default(
AssemblyPortabilityPolicy
);
Desktop\DesktopAssemblyIdentityComparer.cs (6)
37
public static new DesktopAssemblyIdentityComparer Default { get; } = new DesktopAssemblyIdentityComparer(default(
AssemblyPortabilityPolicy
));
39
internal readonly
AssemblyPortabilityPolicy
policy;
42
internal DesktopAssemblyIdentityComparer(
AssemblyPortabilityPolicy
policy)
48
/// Loads <see cref="
AssemblyPortabilityPolicy
"/> information from XML with app.config schema.
69
return new DesktopAssemblyIdentityComparer(
AssemblyPortabilityPolicy
.LoadFromXml(input));
72
internal
AssemblyPortabilityPolicy
PortabilityPolicy
Microsoft.CodeAnalysis.UnitTests (1)
MetadataReferences\AssemblyPortabilityPolicyTests.cs (1)
47
var
actual = AssemblyPortabilityPolicy.LoadFromXml(stream);