ScriptAnalyzerError Class

Summary

Represents a script analysis error.
Namespace
Cake.Core.Scripting.Analysis
Base Types
  • object
graph BT Type-->Base0["object"] Type["ScriptAnalyzerError"] class Type type-node

Syntax

public sealed class ScriptAnalyzerError

Constructors

Name Summary
ScriptAnalyzerError(FilePath, int, string) Initializes a new instance of the ScriptAnalyzerError class.

Properties

Name Value Summary
File FilePath
Gets the file containing the error.
Line int
Gets the line number for the error.
Message string
Gets the error message.

Extension Methods

Name Value Summary
Dump<ScriptAnalyzerError>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<ScriptAnalyzerError>(ScriptAnalyzerError[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<ScriptAnalyzerError>(string) void
Requires the Cake.Issues addin
NotNull<ScriptAnalyzerError>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
ThrowIfNull<ScriptAnalyzerError>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<ScriptAnalyzerError>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin