8000 {stacktrace} to pascal case crashed · Issue #25 · Suchiman/SerilogAnalyzer · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

{stacktrace} to pascal case crashed #25

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

Closed
CADbloke opened this issue Oct 18, 2017 · 3 comments
Closed

{stacktrace} to pascal case crashed #25

CADbloke opened this issue Oct 18, 2017 · 3 comments
Assignees
Labels

Comments

@CADbloke
Copy link

I got the pascal case warning for {stackTrace} in ....

Microsoft Visual Studio Community 2017
Version 15.4.0
VisualStudio.15.Release/15.4.0+27004.2002
Microsoft .NET Framework
Version 4.7.02046

Resharper 2017.21

Codez ..

Log.Fatal(crashAndBurn,
                              messageTemplate: "{DwgFileName} Crashed and burned. {stackTrace}",
                              propertyValue0: dwgName,
                              propertyValue1: crashAndBurn.StackTrace);

Tried to alt-right click fix and it crashed

Burn ..

System.InvalidCastException : Unable to cast object of type 'Microsoft.CodeAnalysis.CSharp.Syntax.LiteralExpressionSyntax' to type 'Microsoft.CodeAnalysis.CSharp.Syntax.ArgumentSyntax'.
   at SerilogAnalyzer.SerilogAnalyzerPascalCaseCodeFixProvider.<>c__DisplayClass5_0.<RegisterCodeFixesAsync>b__0(CancellationToken c)
   at Microsoft.CodeAnalysis.CodeActions.CodeAction.SolutionChangeAction.GetChangedSolutionAsync(CancellationToken cancellationToken)
   at async Microsoft.CodeAnalysis.CodeActions.CodeAction.ComputeOperationsAsync(<Unknown Parameters>)
   at async Microsoft.CodeAnalysis.CodeActions.CodeAction.ComputePreviewOperationsAsync(<Unknown Parameters>)
   at async Microsoft.CodeAnalysis.CodeActions.CodeAction.GetPreviewOperationsAsync(<Unknown Parameters>)
   at async Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedAction.GetPreviewResultAsync(<Unknown Parameters>)
   at async Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedActionWithNestedFlavors.PreviewChangesSuggestedAction.CreateAsync(<Unknown Parameters>)
   at async Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedActionWithNestedFlavors.GetPreviewChangesFlavor(<Unknown Parameters>)
   at async Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedActionWithNestedFlavors.CreateAllFlavors(<Unknown Parameters>)
   at async Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.PerformFunctionAsync[T](<Unknown Parameters>)

Hope this helps.
cheers
Ewen

@Suchiman Suchiman self-assigned this Oct 18, 2017
@Suchiman Suchiman added the bug label Oct 18, 2017
@Suchiman
Copy link
Owner

Looks like i can't close VS yet 😄

@Suchiman
Copy link
Owner

Thanks for the report @CADbloke
I've pushed a new release 0.12 to the VS Marketplace and Nuget, which should be available soon, with the fixes for #24 and this.

@CADbloke
Copy link
Author

Confirmed. That seems happy in VS2015 update 3 (yes, different PC)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants
0