Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 448b080

Browse files
committed
C#: Fix typos.
1 parent 8cdfb87 commit 448b080

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

change-notes/1.19/analysis-csharp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
## Changes to existing queries
1414

1515
| Inconsistent lock sequence (`cs/inconsistent-lock-sequence`) | More results | This query now finds inconsistent lock sequences globally across calls. |
16-
| Local scope variable shadows member (`cs/local-shadows-member`) | Fewer results | Results have been removed where a constructor parameter shadows a member, because the parameter is probably used to initialise the member. |
16+
| Local scope variable shadows member (`cs/local-shadows-member`) | Fewer results | Results have been removed where a constructor parameter shadows a member, because the parameter is probably used to initialize the member. |
1717
| *@name of query (Query ID)*| *Impact on results* | *How/why the query has changed* |
1818

1919

csharp/extractor/Semmle.Extraction.CIL/Entities/Type.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,13 @@ public abstract class Type : TypeContainer, IMember, IType
8383
/// <summary>
8484
/// Find the method in this type matching the name and signature.
8585
/// </summary>
86-
/// <param name="MethodNmae">The handle to the name.</param>
86+
/// <param name="MethodName">The handle to the name.</param>
8787
/// <param name="signature">
8888
/// The handle to the signature. Note that comparing handles is a valid
8989
/// shortcut to comparing the signature bytes since handles are unique.
9090
/// </param>
9191
/// <returns>The method, or 'null' if not found or not supported.</returns>
92-
internal virtual Method LookupMethod(StringHandle MethodNmae, BlobHandle signature)
92+
internal virtual Method LookupMethod(StringHandle MethodName, BlobHandle signature)
9393
{
9494
return null;
9595
}

0 commit comments

Comments
 (0)