3 namespace SiliconStudio.Shaders.Utility
 
    5     public partial class MessageCode
 
    7         public readonly 
string Code;
 
    9         public readonly 
string Text;
 
   28         #region Static members 
   33         public static readonly 
MessageCode WarningTypeAsConstructor                 = 
new MessageCode(
"W0001", 
"Invalid type used as a constructor [{0}]");
 
   34         public static readonly 
MessageCode WarningTypeInferenceUnknownExpression    = 
new MessageCode(
"W0002", 
"Type inference for unknown expression is supported [{0}]");
 
   39         public static readonly 
MessageCode ErrorBinaryTypeDeduction                 = 
new MessageCode(
"E0001", 
"Can't deduce type of binary operation between [{0}] and [{1}]");
 
   40         public static readonly 
MessageCode ErrorScalarTypeConversion                = 
new MessageCode(
"E0002", 
"Unsupported scalar type conversion between [{0}] and [{1}]");
 
   41         public static readonly 
MessageCode ErrorIndexerType                         = 
new MessageCode(
"E0003", 
"Unable to find type for indexer: [{0}]");
 
   42         public static readonly 
MessageCode ErrorLiteralType                         = 
new MessageCode(
"E0004", 
"Unable to find type reference for literal value [{0}]");
 
   43         public static readonly 
MessageCode ErrorNoOverloadedMethod                  = 
new MessageCode(
"E0005", 
"Unable to find a suitable overloaded method [{0}]");
 
   44         public static readonly 
MessageCode ErrorNoReferencedMethod                  = 
new MessageCode(
"E0006", 
"Unable to find the referenced method [{0}]");
 
   45         public static readonly 
MessageCode ErrorNoTypeReferenceMember               = 
new MessageCode(
"E0007", 
"Unable to find type reference for member [{0}]");
 
   46         public static readonly 
MessageCode ErrorNoTypeReferenceTypename             = 
new MessageCode(
"E0008", 
"Unable to find type reference for typename [{0}]");
 
MessageCode(string code, string text)