@@ -275,7 +275,7 @@ type TcInfoNode =
275275 static member FromState ( state : TcInfoState ) =
276276 let tcInfo = state.TcInfo
277277 let tcInfoExtras = state.TcInfoExtras
278- TcInfoNode( GraphNode( node.Return tcInfo) , GraphNode( node.Return ( tcInfo, defaultArg tcInfoExtras emptyTcInfoExtras) ))
278+ TcInfoNode( GraphNode.FromResult tcInfo, GraphNode.FromResult ( tcInfo, defaultArg tcInfoExtras emptyTcInfoExtras))
279279
280280/// Bound model of an underlying syntax and typed tree.
281281[<Sealed>]
@@ -1098,7 +1098,7 @@ module IncrementalBuilderStateHelpers =
10981098 | ValueSome( boundModel) when initialState.enablePartialTypeChecking && boundModel.BackingSignature.IsSome ->
10991099 let newBoundModel = boundModel.ClearTcInfoExtras()
11001100 { state with
1101- boundModels = state.boundModels.SetItem( slot, GraphNode( node.Return newBoundModel) )
1101+ boundModels = state.boundModels.SetItem( slot, GraphNode.FromResult newBoundModel)
11021102 stampedFileNames = state.stampedFileNames.SetItem( slot, stamp)
11031103 }
11041104 | _ ->
@@ -1165,7 +1165,7 @@ type IncrementalBuilderState with
11651165 let referencedAssemblies = initialState.referencedAssemblies
11661166
11671167 let cache = TimeStampCache( defaultTimeStamp)
1168- let initialBoundModel = GraphNode( node.Return initialBoundModel)
1168+ let initialBoundModel = GraphNode.FromResult initialBoundModel
11691169 let boundModels = ImmutableArrayBuilder.create fileNames.Length
11701170
11711171 for slot = 0 to fileNames.Length - 1 do
0 commit comments