Skip to content

Commit

Permalink
code style improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
xieguigang committed Mar 15, 2022
1 parent c3075f5 commit 2f84f42
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion vs_solutions/dev/VisualStudio/CodeSign/LicenseMgr.vb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Imports Microsoft.VisualBasic.Text.Xml.Models
Namespace CodeSign

''' <summary>
''' Source code license manager
''' Source code license banner
''' </summary>
Public Module LicenseMgr

Expand Down Expand Up @@ -161,6 +161,7 @@ THE SOFTWARE.",
For Each author As NamedValue In info.Authors.SafeQuery
Call sb.AppendLine($" ' {author.name} ({author.text})")
Next

Call sb.AppendLine(" ' ")
Call sb.AppendLine(" ' " & info.Copyright)
Call sb.AppendLine(" ' ")
Expand All @@ -185,6 +186,7 @@ THE SOFTWARE.",
Next

sb.AppendLine(" ' /********************************************************************************/")

Call sb.AppendLine()
Call sb.AppendLine($"#End Region")
Call sb.AppendLine()
Expand Down
3 changes: 2 additions & 1 deletion vs_solutions/dev/VisualStudio/CodeSign/VBCodeSignature.vb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ Namespace CodeSign
End Function

<MethodImpl(MethodImplOptions.AggressiveInlining)>
<Extension> Public Function SummaryModules(vb As String) As String
<Extension>
Public Function SummaryModules(vb As String) As String
Dim vblines As Pointer(Of String) = vb _
.LineTokens _
.Select(AddressOf RemoveAttributes) _
Expand Down

0 comments on commit 2f84f42

Please sign in to comment.