Skip to content

Commit aa161bc

Browse files
DedSec256auduchinok
authored andcommitted
FSharpFileBase: fix redundant closure allocation (#299)
1 parent 76f5065 commit aa161bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ReSharper.FSharp/src/FSharp.Psi/src/Impl/Tree/FSharpFileBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ internal abstract class FSharpFileBase : FileElementBase, IFSharpFileCheckInfoOw
2828

2929
public FSharpOption<FSharpParseFileResults> ParseResults
3030
{
31-
get => myParseResults.GetValue(this, fsFile => FcsCheckerService.ParseFile(SourceFile));
31+
get => myParseResults.GetValue(this, fsFile => fsFile.FcsCheckerService.ParseFile(fsFile.SourceFile));
3232
set => myParseResults.SetValue(this, value);
3333
}
3434

0 commit comments

Comments
 (0)