Skip to content

Commit

Permalink
code style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ber.a committed Jan 16, 2020
1 parent ec57460 commit b42dde0
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
18 changes: 9 additions & 9 deletions src/fsharp/ExtensionTyping.fs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ module ExtensionTyping =

protect (fun () -> Activator.CreateInstance(typeProviderImplementationType, [| box e|]) :?> ITypeProvider )

elif typeProviderImplementationType.GetConstructor [| |] <> null then
elif typeProviderImplementationType.GetConstructor [| |] <> null then
protect (fun () -> Activator.CreateInstance typeProviderImplementationType :?> ITypeProvider )

else
Expand Down Expand Up @@ -1191,17 +1191,17 @@ module ExtensionTyping =
module Shim =

type IExtensionTypingProvider =
abstract InstantiateTypeProvidersOfAssembly :
abstract InstantiateTypeProvidersOfAssembly:
runtimeAssemblyFilename: string
* ilScopeRefOfRuntimeAssembly:ILScopeRef
* ilScopeRefOfRuntimeAssembly: ILScopeRef
* designerAssemblyName: string
* ResolutionEnvironment
* bool
* resolutionEnvironment: ResolutionEnvironment
* isInvalidationSupported: bool
* isInteractive: bool
* systemRuntimeContainsType : (string -> bool)
* systemRuntimeAssemblyVersion : System.Version
* compilerToolsPath : string list
* range -> Tainted<ITypeProvider> list
* m: range -> Tainted<ITypeProvider> list

[<Sealed>]
type DefaultExtensionTypingProvider() =
Expand All @@ -1213,10 +1213,10 @@ module ExtensionTyping =
resolutionEnvironment: ResolutionEnvironment,
isInvalidationSupported: bool,
isInteractive: bool,
systemRuntimeContainsType : string -> bool,
systemRuntimeAssemblyVersion : System.Version,
systemRuntimeContainsType: string -> bool,
systemRuntimeAssemblyVersion: System.Version,
compilerToolPaths: string list,
m:range) =
m: range) =

GetTypeProvidersOfAssembly(runTimeAssemblyFileName,
ilScopeRefOfRuntimeAssembly,
Expand Down
16 changes: 8 additions & 8 deletions src/fsharp/ExtensionTyping.fsi
Original file line number Diff line number Diff line change
Expand Up @@ -368,17 +368,17 @@ module ExtensionTyping =
type IExtensionTypingProvider =

/// Find and instantiate the set of ITypeProvider components for the given assembly reference
abstract InstantiateTypeProvidersOfAssembly :
abstract InstantiateTypeProvidersOfAssembly:
runtimeAssemblyFilename: string
* ilScopeRefOfRuntimeAssembly:ILScopeRef
* ilScopeRefOfRuntimeAssembly: ILScopeRef
* designerAssemblyName: string
* ResolutionEnvironment
* bool
* resolutionEnvironment: ResolutionEnvironment
* isInvalidationSupported: bool
* isInteractive: bool
* systemRuntimeContainsType : (string -> bool)
* systemRuntimeAssemblyVersion : System.Version
* compilerToolsPath : string list
* range -> Tainted<ITypeProvider> list
* systemRuntimeContainsType: (string -> bool)
* systemRuntimeAssemblyVersion: System.Version
* compilerToolsPath: string list
* m: range -> Tainted<ITypeProvider> list

[<Sealed>]
type DefaultExtensionTypingProvider =
Expand Down
6 changes: 3 additions & 3 deletions tests/service/ExtensionTypingProviderTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ let ``Extension typing shim gets requests`` () =
resolutionEnvironment: ResolutionEnvironment,
isInvalidationSupported: bool,
isInteractive: bool,
systemRuntimeContainsType : string -> bool,
systemRuntimeAssemblyVersion : System.Version,
systemRuntimeContainsType: string -> bool,
systemRuntimeAssemblyVersion: System.Version,
compilerToolPaths: string list,
m:range) =
m: range) =
gotRequest <- true
[]
}
Expand Down

0 comments on commit b42dde0

Please sign in to comment.