Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Shaders.Utility.MessageCode Class Reference

Public Member Functions

 MessageCode (string text)
 
 MessageCode (string code, string text)
 

Static Public Member Functions

static implicit operator MessageCode (string text)
 

Public Attributes

readonly string Code
 
readonly string Text
 

Static Public Attributes

static readonly MessageCode ErrorMatrixInvalidMemberReference = new MessageCode("E0100", "Invalid member reference [{0}] for matrix type")
 
static readonly MessageCode ErrorMatrixInvalidIndex = new MessageCode("E0101", "Invalid index [{0}] for matrix type member access. Must be in the range [{1},{2}] member for array type")
 
static readonly MessageCode WarningUnknown = new MessageCode("W0000", "Unknown warning")
 
static readonly MessageCode WarningTypeAsConstructor = new MessageCode("W0001", "Invalid type used as a constructor [{0}]")
 
static readonly MessageCode WarningTypeInferenceUnknownExpression = new MessageCode("W0002", "Type inference for unknown expression is supported [{0}]")
 
static readonly MessageCode ErrorAnalysisUnknown = new MessageCode("E0000", "Unknown analysis error")
 
static readonly MessageCode ErrorBinaryTypeDeduction = new MessageCode("E0001", "Can't deduce type of binary operation between [{0}] and [{1}]")
 
static readonly MessageCode ErrorScalarTypeConversion = new MessageCode("E0002", "Unsupported scalar type conversion between [{0}] and [{1}]")
 
static readonly MessageCode ErrorIndexerType = new MessageCode("E0003", "Unable to find type for indexer: [{0}]")
 
static readonly MessageCode ErrorLiteralType = new MessageCode("E0004", "Unable to find type reference for literal value [{0}]")
 
static readonly MessageCode ErrorNoOverloadedMethod = new MessageCode("E0005", "Unable to find a suitable overloaded method [{0}]")
 
static readonly MessageCode ErrorNoReferencedMethod = new MessageCode("E0006", "Unable to find the referenced method [{0}]")
 
static readonly MessageCode ErrorNoTypeReferenceMember = new MessageCode("E0007", "Unable to find type reference for member [{0}]")
 
static readonly MessageCode ErrorNoTypeReferenceTypename = new MessageCode("E0008", "Unable to find type reference for typename [{0}]")
 

Detailed Description

Definition at line 5 of file MessageCode.Hlsl.cs.

Constructor & Destructor Documentation

SiliconStudio.Shaders.Utility.MessageCode.MessageCode ( string  text)

Definition at line 11 of file MessageCode.cs.

SiliconStudio.Shaders.Utility.MessageCode.MessageCode ( string  code,
string  text 
)

Definition at line 17 of file MessageCode.cs.

Member Function Documentation

static implicit SiliconStudio.Shaders.Utility.MessageCode.operator MessageCode ( string  text)
static

Definition at line 23 of file MessageCode.cs.

Member Data Documentation

readonly string SiliconStudio.Shaders.Utility.MessageCode.Code

Definition at line 7 of file MessageCode.cs.

Referenced by SiliconStudio.Shaders.Utility.LoggerResult.AddMessage().

readonly MessageCode SiliconStudio.Shaders.Utility.MessageCode.ErrorAnalysisUnknown = new MessageCode("E0000", "Unknown analysis error")
static

Definition at line 37 of file MessageCode.cs.

readonly MessageCode SiliconStudio.Shaders.Utility.MessageCode.ErrorBinaryTypeDeduction = new MessageCode("E0001", "Can't deduce type of binary operation between [{0}] and [{1}]")
static
readonly MessageCode SiliconStudio.Shaders.Utility.MessageCode.ErrorIndexerType = new MessageCode("E0003", "Unable to find type for indexer: [{0}]")
static
readonly MessageCode SiliconStudio.Shaders.Utility.MessageCode.ErrorLiteralType = new MessageCode("E0004", "Unable to find type reference for literal value [{0}]")
static
readonly MessageCode SiliconStudio.Shaders.Utility.MessageCode.ErrorMatrixInvalidIndex = new MessageCode("E0101", "Invalid index [{0}] for matrix type member access. Must be in the range [{1},{2}] member for array type")
static

Definition at line 9 of file MessageCode.Hlsl.cs.

readonly MessageCode SiliconStudio.Shaders.Utility.MessageCode.ErrorMatrixInvalidMemberReference = new MessageCode("E0100", "Invalid member reference [{0}] for matrix type")
static

Definition at line 8 of file MessageCode.Hlsl.cs.

readonly MessageCode SiliconStudio.Shaders.Utility.MessageCode.ErrorNoOverloadedMethod = new MessageCode("E0005", "Unable to find a suitable overloaded method [{0}]")
static
readonly MessageCode SiliconStudio.Shaders.Utility.MessageCode.ErrorNoReferencedMethod = new MessageCode("E0006", "Unable to find the referenced method [{0}]")
static
readonly MessageCode SiliconStudio.Shaders.Utility.MessageCode.ErrorNoTypeReferenceMember = new MessageCode("E0007", "Unable to find type reference for member [{0}]")
static
readonly MessageCode SiliconStudio.Shaders.Utility.MessageCode.ErrorNoTypeReferenceTypename = new MessageCode("E0008", "Unable to find type reference for typename [{0}]")
static
readonly MessageCode SiliconStudio.Shaders.Utility.MessageCode.ErrorScalarTypeConversion = new MessageCode("E0002", "Unsupported scalar type conversion between [{0}] and [{1}]")
static
readonly string SiliconStudio.Shaders.Utility.MessageCode.Text

Definition at line 9 of file MessageCode.cs.

Referenced by SiliconStudio.Shaders.Utility.LoggerResult.AddMessage().

readonly MessageCode SiliconStudio.Shaders.Utility.MessageCode.WarningTypeAsConstructor = new MessageCode("W0001", "Invalid type used as a constructor [{0}]")
static
readonly MessageCode SiliconStudio.Shaders.Utility.MessageCode.WarningTypeInferenceUnknownExpression = new MessageCode("W0002", "Type inference for unknown expression is supported [{0}]")
static
readonly MessageCode SiliconStudio.Shaders.Utility.MessageCode.WarningUnknown = new MessageCode("W0000", "Unknown warning")
static

Definition at line 31 of file MessageCode.cs.


The documentation for this class was generated from the following files: