AiSecurityViolation

References
public sealed class AiSecurityViolation
A single banned-symbol occurrence found by the syntax-tree scan.

Constructors

AiSecurityViolation

#
public AiSecurityViolation(string bannedSymbol, string reason, int line, int column)
bannedSymbol (string)
reason (string)
line (int)
column (int)

Properties

BannedSymbol

#
public string BannedSymbol { get; }
The disallowed symbol, e.g. "System.Reflection.Assembly.Load".

Column

#
public int Column { get; }

Line

#
public int Line { get; }

Reason

#
public string Reason { get; }
Why this symbol is banned, surfaced to the user.