Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75397e5 commit f7b4d1eCopy full SHA for f7b4d1e
1 file changed
csharp/extractor/Semmle.Extraction.CSharp/SymbolExtensions.cs
@@ -80,8 +80,8 @@ private static IEnumerable<SyntaxToken> GetModifiers<T>(this ISymbol symbol, Fun
80
public static IEnumerable<string> GetSourceLevelModifiers(this ISymbol symbol)
81
{
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);
+ var typeModifiers = symbol.GetModifiers<Microsoft.CodeAnalysis.CSharp.Syntax.TypeDeclarationSyntax>(cd => cd.Modifiers);
+ return methodModifiers.Concat(typeModifiers).Select(m => m.Text);
85
}
86
87
/// <summary>
0 commit comments