Skip to content

Commit f7b4d1e

Browse files
committed
spelling: modifiers
Signed-off-by: Josh Soref <[email protected]>
1 parent 75397e5 commit f7b4d1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

csharp/extractor/Semmle.Extraction.CSharp/SymbolExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ private static IEnumerable<SyntaxToken> GetModifiers<T>(this ISymbol symbol, Fun
8080
public static IEnumerable<string> GetSourceLevelModifiers(this ISymbol symbol)
8181
{
8282
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);
8585
}
8686

8787
/// <summary>

0 commit comments

Comments
 (0)