Skip to content

Commit

Permalink
allow unsafe in C# scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
filipw committed Feb 21, 2017
1 parent cf41430 commit 54fc9c3
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 54fc9c3

Please sign in to comment.