File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -80,8 +80,8 @@ private static IEnumerable<SyntaxToken> GetModifiers<T>(this ISymbol symbol, Fun
80
80
public static IEnumerable < string > GetSourceLevelModifiers ( this ISymbol symbol )
81
81
{
82
82
var methodModifiers = symbol . GetModifiers < Microsoft . CodeAnalysis . CSharp . Syntax . BaseMethodDeclarationSyntax > ( md => md . Modifiers ) ;
83
- var typeModifers = symbol . GetModifiers < Microsoft . CodeAnalysis . CSharp . Syntax . TypeDeclarationSyntax > ( cd => cd . Modifiers ) ;
84
- return methodModifiers . Concat ( typeModifers ) . Select ( m => m . Text ) ;
83
+ var typeModifiers = symbol . GetModifiers < Microsoft . CodeAnalysis . CSharp . Syntax . TypeDeclarationSyntax > ( cd => cd . Modifiers ) ;
84
+ return methodModifiers . Concat ( typeModifiers ) . Select ( m => m . Text ) ;
85
85
}
86
86
87
87
/// <summary>
You can’t perform that action at this time.
0 commit comments