1 instantiation of FusionAssemblyPortabilityPolicy
Microsoft.CodeAnalysis.UnitTests (1)
MetadataReferences\FusionAssemblyPortabilityPolicy.cs (1)
53
return new
FusionAssemblyPortabilityPolicy
(asmConfigCookie, hash);
22 references to FusionAssemblyPortabilityPolicy
Microsoft.CodeAnalysis.UnitTests (22)
MetadataReferences\AssemblyIdentityComparerTests.cs (2)
31
using (
var
fusionPolicy = policyPath != null ?
FusionAssemblyPortabilityPolicy
.LoadFromFile(policyPath) : null)
MetadataReferences\AssemblyPortabilityPolicyTests.cs (16)
30
using (
var
policy =
FusionAssemblyPortabilityPolicy
.LoadFromFile(appConfigPath))
54
private static bool IsEquivalent(
FusionAssemblyPortabilityPolicy
policy, string reference, string ported)
80
Assert.Throws<COMException>(() =>
FusionAssemblyPortabilityPolicy
.LoadFromFile(appConfig.Path));
89
Assert.Throws<COMException>(() =>
FusionAssemblyPortabilityPolicy
.LoadFromFile(appConfig.Path));
105
Assert.Throws<COMException>(() =>
FusionAssemblyPortabilityPolicy
.LoadFromFile(appConfig.Path));
389
var
policy =
FusionAssemblyPortabilityPolicy
.LoadFromFile(appConfig.Path);
402
var
policy1 =
FusionAssemblyPortabilityPolicy
.LoadFromFile(appConfig.Path);
403
var
policy2 =
FusionAssemblyPortabilityPolicy
.LoadFromFile(appConfig.Path);
408
policy2 =
FusionAssemblyPortabilityPolicy
.LoadFromFile(appConfig.Path);
413
policy2 =
FusionAssemblyPortabilityPolicy
.LoadFromFile(appConfig.Path);
427
policy2 =
FusionAssemblyPortabilityPolicy
.LoadFromFile(appConfig.Path);
432
policy2 =
FusionAssemblyPortabilityPolicy
.LoadFromFile(appConfig2.Path);
MetadataReferences\FusionAssemblyIdentityComparer.cs (1)
36
internal static AssemblyIdentityComparer.ComparisonResult CompareAssemblyIdentity(string fullName1, string fullName2, bool ignoreVersion,
FusionAssemblyPortabilityPolicy
policy, out bool unificationApplied)
MetadataReferences\FusionAssemblyPortabilityPolicy.cs (3)
44
public static
FusionAssemblyPortabilityPolicy
LoadFromFile(string appConfigPath)
84
return Equals(obj as
FusionAssemblyPortabilityPolicy
);
87
public bool Equals(
FusionAssemblyPortabilityPolicy
other)