Skip to content

Commit

Permalink
feat: allow unsafe
Browse files Browse the repository at this point in the history
  • Loading branch information
mob-sakai committed Jul 29, 2020
1 parent eeec095 commit c17c869
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ private static CSharpCompilation Create(

// Modify compilation options.
options = options
.WithMetadataImportOptions(MetadataImportOptions.All) // MetadataImportOptions.All.
.WithAllowUnsafe(true) // Allow unsafe.
;

Expand Down

0 comments on commit c17c869

Please sign in to comment.