Skip to content

Commit aa80af4

Browse files
Update src/Workspaces/Core/Portable/Workspace/ProjectSystem/ProjectSystemProject.cs
Co-authored-by: Cyrus Najmabadi <cyrus.najmabadi@gmail.com>
1 parent af386a5 commit aa80af4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Workspaces/Core/Portable/Workspace/ProjectSystem/ProjectSystemProject.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,9 +286,7 @@ private void ChangeProjectProperty<T>(
286286

287287
if (!isFullyLoaded)
288288
{
289-
var reportCompilationThrownAway = GetReportCompilationThrownAway(newValue, oldValue);
290-
291-
if (reportCompilationThrownAway)
289+
if (ShouldReportCompilationWillBeThrownAway(newValue, oldValue)
292290
TryReportCompilationThrownAway(_projectSystemProjectFactory.Workspace.CurrentSolution, Id);
293291
}
294292
}

0 commit comments

Comments
 (0)