Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2017-10-23 19:22:39 +0300
committerGitHub <noreply@github.com>2017-10-23 19:22:39 +0300
commitbd7692c6ab69079fdaa543a0964fc0c1ebb17284 (patch)
tree9e1c329560ba60323800c3bd88ecba40a553d0a4 /src/ILCompiler.WebAssembly
parentae58977506b70800ca2c4ced423580047d89d302 (diff)
Search/replace Debug.Assert(false, => Debug.Fail( (#4782)
Diffstat (limited to 'src/ILCompiler.WebAssembly')
-rw-r--r--src/ILCompiler.WebAssembly/src/CodeGen/WebAssemblyObjectWriter.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ILCompiler.WebAssembly/src/CodeGen/WebAssemblyObjectWriter.cs b/src/ILCompiler.WebAssembly/src/CodeGen/WebAssemblyObjectWriter.cs
index ee5f99a0e..335157917 100644
--- a/src/ILCompiler.WebAssembly/src/CodeGen/WebAssemblyObjectWriter.cs
+++ b/src/ILCompiler.WebAssembly/src/CodeGen/WebAssemblyObjectWriter.cs
@@ -688,7 +688,7 @@ namespace ILCompiler.DependencyAnalysis
catch (ArgumentException)
{
ISymbolNode alreadyWrittenSymbol = _previouslyWrittenNodeNames[definedSymbol.GetMangledName(factory.NameMangler)];
- Debug.Assert(false, "Duplicate node name emitted to file",
+ Debug.Fail("Duplicate node name emitted to file",
$"Symbol {definedSymbol.GetMangledName(factory.NameMangler)} has already been written to the output object file {objectFilePath} with symbol {alreadyWrittenSymbol}");
}
}