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