Skip to content

Commit 5d24fdb

Browse files
Update ReSharper.FSharp/src/FSharp/FSharp.Common/src/Shim/TypeProviders/ExtensionTypingProviderShim.fs
Co-authored-by: Eugene Auduchinok <[email protected]>
1 parent bac983e commit 5d24fdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ReSharper.FSharp/src/FSharp/FSharp.Common/src/Shim/TypeProviders/ExtensionTypingProviderShim.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ type TypeProvidersShim(solution: ISolution, toolset: ISolutionToolset,
4848

4949
let getSolutionTypeProvidersClient () =
5050
let client = clients.GetValueSafe(TypeProvidersHostingScope.Solution)
51-
if isNull client then null.As<ITypeProvidersClient>() else client.Value
51+
if isNull client then Unchecked.defaultof<_> else client.Value
5252

5353
let terminateConnections () =
5454
for client in clients.Values do

0 commit comments

Comments
 (0)