Skip to content

Commit 377c736

Browse files
committed
Fix code DOM dump failure.
1 parent e2cac86 commit 377c736

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/MsgPack.UnitTest/Serialization/RoslynCodeGeneration.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#region -- License Terms --
1+
#region -- License Terms --
22
//
33
// MessagePack for CLI
44
//
@@ -67,7 +67,7 @@ a is string
6767
EmitResult result;
6868
if ( SerializerDebugging.DumpEnabled )
6969
{
70-
var assemblyPath = Path.Combine( SerializerDebugging.DumpDirectory, assemblyName + ".dll" );
70+
var assemblyPath = Path.Combine( SerializerDebugging.DumpDirectory ?? Path.GetTempPath(), assemblyName + ".dll" );
7171

7272
using ( var fileStream = File.OpenWrite( assemblyPath ) )
7373
{

0 commit comments

Comments
 (0)