CodeQL library for C#
codeql/csharp-all 4.0.1-dev (changelog, source)
Search

Class AspDirective

A directive, for example <%@ Page Language="C#" %>.

Import path

import semmle.code.asp.AspNet

Direct supertypes

Indirect supertypes

Known direct subtypes

Predicates

getAttribute

Gets the ith attribute of this directive.

getAttributeByName

Gets the attribute named name, if any.

getName

Gets the name of this directive, for example Page in <%@ Page Language="C#" %>.

hasAttribute

Holds if this directive has an attribute.

toString

Gets a textual representation of this element.

Inherited predicates

getBody

Gets the body of this element.

from AspElement
getLocation

Gets the location of this element.

from AspElement