Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync with the ultimate master #775

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ open JetBrains.ProjectModel
open JetBrains.ReSharper.Plugins.FSharp
open JetBrains.Util

[<SolutionComponent(Instantiation.DemandAnyThreadUnsafe)>]
[<SolutionComponent(Instantiation.DemandAnyThreadSafe)>]
type AssemblyInfoShim(lifetime: Lifetime, fsSourceCache: FSharpSourceCache,
assemblyExistsService: AssemblyExistsService, toolset: ISolutionToolset) =
inherit DelegatingFileSystemShim(lifetime)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ open JetBrains.ReSharper.Psi.Tree
open JetBrains.ReSharper.Psi.Impl.Shared.InjectedPsi
open JetBrains.Text

[<SolutionComponent(InstantiationEx.LegacyDefault)>]
[<SolutionComponent(Instantiation.DemandAnyThreadSafe)>]
type FSharpLiteralInjectionTarget() =
let isInjectionAllowed tokenType =
FSharpTokenType.Strings[tokenType] &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ open JetBrains.ReSharper.Plugins.FSharp.Psi.Features.Util.FSharpMethodInvocation
open JetBrains.ReSharper.Plugins.FSharp.Psi.Features.Util.FSharpExpressionUtil
open JetBrains.ReSharper.Plugins.FSharp.Util

[<SolutionComponent(InstantiationEx.LegacyDefault)>]
[<SolutionComponent(Instantiation.DemandAnyThreadSafe)>]
type FSharpRegexNodeProvider() =
let rec evalOptionsArg (expr: IFSharpExpression) =
match expr.IgnoreInnerParens() with
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ open JetBrains.ReSharper.Psi.RegExp.Resources
open JetBrains.ReSharper.Psi.Tree
open JetBrains.ReSharper.Plugins.FSharp.Psi.Features.StringLiteralsUtil

[<SolutionComponent(InstantiationEx.LegacyDefault)>]
[<SolutionComponent(Instantiation.DemandAnyThreadSafe)>]
type FSharpRegexInjectionProvider
(lifetime: Lifetime, solution: ISolution, persistentIndexManager: IPersistentIndexManager,
providersViewer: InjectionNodeProvidersViewer, injectionTargetLanguage: FSharpLiteralInjectionTarget) =
Expand All @@ -32,7 +32,7 @@ type FSharpRegexInjectionProvider
override _.SupportsInjectionIntention = false


[<SolutionComponent(InstantiationEx.LegacyDefault)>]
[<SolutionComponent(Instantiation.DemandAnyThreadSafe)>]
type RegExprPsiProvider(injectorProvider: FSharpRegexInjectionProvider) =
inherit LiteralsInjectionPsiProvider<FSharpLanguage, ClrRegexLanguage>(injectorProvider, ClrRegexLanguage.Instance)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

namespace JetBrains.ReSharper.Plugins.FSharp.Psi.Metadata
{
[PsiComponent(Instantiation.DemandAnyThreadUnsafe)]
[PsiComponent(Instantiation.DemandAnyThreadSafe)]
public class FSharpAutoOpenCache : IAssemblyCache
{
private readonly IPsiAssemblyFileLoader myPsiAssemblyFileLoader;
Expand Down
Loading