Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ private static string GetAssemblyPath(string assemblyName)
[MethodImpl(MethodImplOptions.NoInlining)]
private static string UseCorruptAssembly() => BindFailureTest.Corrupt.TestClass.GetMessage();

[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsCoreCLR), nameof(PlatformDetection.HasAssemblyFiles))]
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsCoreCLR), nameof(PlatformDetection.HasAssemblyFiles), nameof(PlatformDetection.IsNotMobile))]
public void NotFound_ExceptionContainsAssemblyPath()
{
// The Missing assembly is listed in deps.json (so the host adds it to the TPA
Expand Down Expand Up @@ -71,7 +71,7 @@ public void SharingViolation_ExceptionContainsPathAndHResult()
}
}

[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsCoreCLR), nameof(PlatformDetection.HasAssemblyFiles))]
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsCoreCLR), nameof(PlatformDetection.HasAssemblyFiles), nameof(PlatformDetection.IsNotMobile))]
public void Corrupt_ExceptionContainsPathAndHResult()
{
const int COR_E_ASSEMBLYEXPECTED = unchecked((int)0x80131018);
Expand Down
Loading