You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[<DllImport("userenv.dll", SetLastError =true)>][<MarshalAs(UnmanagedType.Bool)>]letDestroyEnvironmentBlock lpEnvironment:IntPtr:bool = failwith "extern was not given a DllImport attribute"
Options
Fantomas 3.0.0
Name
Value
IndentOnTryWith
false
IndentSpaceNum
4
KeepNewlineAfter
false
PageWidth
120
ReorderOpenDeclaration
false
SemicolonAtEndOfLine
false
SpaceAfterComma
true
SpaceAfterSemicolon
true
SpaceAroundDelimiter
true
SpaceBeforeArgument
true
SpaceBeforeColon
false
StrictMode
false
The text was updated successfully, but these errors were encountered:
theimowski
added a commit
to theimowski/fantomas
that referenced
this issue
Nov 28, 2019
Issue created from fantomas-ui
When adding
MarshalAs
attribute to denote marshalling for return value, Fantomas fails to recognise that there's aDllImport
aboveCode
Result
Options
Fantomas 3.0.0
IndentOnTryWith
false
IndentSpaceNum
4
KeepNewlineAfter
false
PageWidth
120
ReorderOpenDeclaration
false
SemicolonAtEndOfLine
false
SpaceAfterComma
true
SpaceAfterSemicolon
true
SpaceAroundDelimiter
true
SpaceBeforeArgument
true
SpaceBeforeColon
false
StrictMode
false
The text was updated successfully, but these errors were encountered: