Skip to content

Commit

Permalink
Merge pull request #781 from filipw/feature/allowunsafe-script
Browse files Browse the repository at this point in the history
allow unsafe in C# scripts
  • Loading branch information
filipw authored Feb 22, 2017
2 parents cf41430 + 54fc9c3 commit b55c25f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/OmniSharp.Script/ScriptProjectSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public class ScriptProjectSystem : IProjectSystem
private static readonly CSharpCompilationOptions CompilationOptions = new CSharpCompilationOptions(
OutputKind.DynamicallyLinkedLibrary,
usings: DefaultNamespaces,
allowUnsafe: true,
metadataReferenceResolver: ScriptMetadataResolver.Default,
sourceReferenceResolver: ScriptSourceResolver.Default,
assemblyIdentityComparer: DesktopAssemblyIdentityComparer.Default);
Expand Down

0 comments on commit b55c25f

Please sign in to comment.