Skip to content

Commit

Permalink
Remove unnecessary AllowUnsafe
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesqo authored and marcind committed Aug 5, 2017
1 parent 44f2508 commit 942e08e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/xunit.analyzers.tests/CodeAnalyzerHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ public static async Task<ImmutableArray<Diagnostic>> GetDiagnosticsAsync(Diagnos

var project = solution.GetProject(projectId);
var compilationOptions = ((CSharpCompilationOptions)project.CompilationOptions)
.WithAllowUnsafe(true)
.WithOutputKind(OutputKind.DynamicallyLinkedLibrary)
.WithWarningLevel(2);
project = project.WithCompilationOptions(compilationOptions);
Expand Down

0 comments on commit 942e08e

Please sign in to comment.