Skip to content

Commit ca531cb

Browse files
committed
C#: Rename a class
1 parent 8395980 commit ca531cb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

csharp/ql/src/semmle/code/csharp/frameworks/microsoft/AspNetCore.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ class MicrosoftAspNetCoreMvcController extends Class {
200200
}
201201

202202
/** The `Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper` interface. */
203-
class MicrosoftAspNetCoreMvcRenderingHtmlHelperInterface extends Interface {
204-
MicrosoftAspNetCoreMvcRenderingHtmlHelperInterface() {
203+
class MicrosoftAspNetCoreMvcRenderingIHtmlHelperInterface extends Interface {
204+
MicrosoftAspNetCoreMvcRenderingIHtmlHelperInterface() {
205205
getNamespace() instanceof MicrosoftAspNetCoreMvcRendering and
206206
hasName("IHtmlHelper")
207207
}

csharp/ql/src/semmle/code/csharp/security/dataflow/flowsinks/Html.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ class MicrosoftAspNetCoreMvcHtmlHelperRawSink extends AspNetCoreHtmlSink {
185185
c.getTarget() = target and
186186
target.hasName("Raw") and
187187
target.getDeclaringType().getABaseType*() instanceof
188-
MicrosoftAspNetCoreMvcRenderingHtmlHelperInterface and
188+
MicrosoftAspNetCoreMvcRenderingIHtmlHelperInterface and
189189
this.getExpr() = c.getAnArgument()
190190
)
191191
}

0 commit comments

Comments
 (0)