The Labs \ Source Viewer \ SSCLI \ Microsoft.JScript \ JSError

  1. // ==++==
  2. //
  3. //
  4. // Copyright (c) 2006 Microsoft Corporation. All rights reserved.
  5. //
  6. // The use and distribution terms for this software are contained in the file
  7. // named license.txt, which can be found in the root of this distribution.
  8. // By using this software in any fashion, you are agreeing to be bound by the
  9. // terms of this license.
  10. //
  11. // You must not remove this notice, or any other, from this software.
  12. //
  13. //
  14. // ==--==
  15. namespace Microsoft.JScript
  16. {
  17.    
  18.     [System.Runtime.InteropServices.GuidAttribute("268CA962-2FEF-3152-BA46-E18658B7FA4F")]
  19.     [System.Runtime.InteropServices.ComVisible(true)]
  20.     public enum JSError
  21.     {
  22.         //0 - 1000 legacy scripting errors, not JScript specific.
  23.         NoError = 0,
  24.         InvalidCall = 5,
  25.         //"Invalid procedure call or argument"
  26.         OutOfMemory = 7,
  27.         // "Out of memory"
  28.         TypeMismatch = 13,
  29.         // "Type mismatch"
  30.         OutOfStack = 28,
  31.         // "Out of stack space"
  32.         InternalError = 51,
  33.         // "Internal error"
  34.         FileNotFound = 53,
  35.         // "File not found"
  36.         NeedObject = 424,
  37.         // "Object required"
  38.         CantCreateObject = 429,
  39.         // "Can't create object"
  40.         OLENoPropOrMethod = 438,
  41.         // "Object doesn't support this property or method"
  42.         ActionNotSupported = 445,
  43.         // "Object doesn't support this action"
  44.         NotCollection = 451,
  45.         // "Object not a collection"
  46.         //1000 - 2000 JScript errors that occur during compilation only. (regard Eval and Function as compilation). Typically used only in HandleError.
  47.         SyntaxError = 1002,
  48.         // "Syntax error"
  49.         NoColon = 1003,
  50.         // "Expected ':'"
  51.         NoSemicolon = 1004,
  52.         // "Expected ';'"
  53.         NoLeftParen = 1005,
  54.         // "Expected '('"
  55.         NoRightParen = 1006,
  56.         // "Expected ')'"
  57.         NoRightBracket = 1007,
  58.         // "Expected ']'"
  59.         NoLeftCurly = 1008,
  60.         // "Expected '{'"
  61.         NoRightCurly = 1009,
  62.         // "Expected '}'"
  63.         NoIdentifier = 1010,
  64.         // "Expected identifier"
  65.         NoEqual = 1011,
  66.         // "Expected '='"
  67.         IllegalChar = 1014,
  68.         // "Invalid character"
  69.         UnterminatedString = 1015,
  70.         // "Unterminated string constant"
  71.         NoCommentEnd = 1016,
  72.         // "Unterminated comment"
  73.         BadReturn = 1018,
  74.         // "'return' statement outside of function"
  75.         BadBreak = 1019,
  76.         // "Can't have 'break' outside of loop"
  77.         BadContinue = 1020,
  78.         // "Can't have 'continue' outside of loop"
  79.         BadHexDigit = 1023,
  80.         // "Expected hexadecimal digit"
  81.         NoWhile = 1024,
  82.         // "Expected 'while'"
  83.         BadLabel = 1025,
  84.         // "Label redefined"
  85.         NoLabel = 1026,
  86.         // "Label not found"
  87.         DupDefault = 1027,
  88.         // "'default' can only appear once in a 'switch' statement"
  89.         NoMemberIdentifier = 1028,
  90.         // "Expected identifier or string"
  91.         NoCcEnd = 1029,
  92.         // "Expected '@end'"
  93.         CcOff = 1030,
  94.         // "Conditional compilation is turned off"
  95.         NotConst = 1031,
  96.         // "Expected constant"
  97.         NoAt = 1032,
  98.         // "Expected '@'"
  99.         NoCatch = 1033,
  100.         // "Expected 'catch'"
  101.         InvalidElse = 1034,
  102.         // "Unmatched 'else'; no 'if' defined"
  103.         NoComma = 1100,
  104.         // "Expected ','"
  105.         DupVisibility = 1101,
  106.         // "Visibility modifier already definied"
  107.         IllegalVisibility = 1102,
  108.         // "Illegal visibility modifier"
  109.         BadSwitch = 1103,
  110.         // "Missing 'case' or 'default' statement"
  111.         CcInvalidEnd = 1104,
  112.         // "Unmatched '@end'; no '@if' defined"
  113.         CcInvalidElse = 1105,
  114.         // "Unmatched '@else'; no '@if' defined"
  115.         CcInvalidElif = 1106,
  116.         // "Unmatched '@elif'; no '@if' defined"
  117.         ErrEOF = 1107,
  118.         // "Expecting more source characters"
  119.         IncompatibleVisibility = 1108,
  120.         // "Incompatible visibility modifier"
  121.         ClassNotAllowed = 1109,
  122.         //"Class definition not allowed in this context"
  123.         NeedCompileTimeConstant = 1110,
  124.         //"Expression must be a compile time constant"
  125.         DuplicateName = 1111,
  126.         // "Identifier already in use"
  127.         NeedType = 1112,
  128.         // "Type name expected"
  129.         NotInsideClass = 1113,
  130.         // "Only valid inside a class definition"
  131.         InvalidPositionDirective = 1114,
  132.         // "Unknown position directive"
  133.         MustBeEOL = 1115,
  134.         // "Directive may not be followed by other code on the same line"
  135.         WrongDirective = 1118,
  136.         CannotNestPositionDirective = 1119,
  137.         // "Position directive must be ended before a new one can be started"
  138.         CircularDefinition = 1120,
  139.         // "Circular definition"
  140.         Deprecated = 1121,
  141.         // "Deprecated"
  142.         IllegalUseOfThis = 1122,
  143.         //"Illegal to use 'this' in current context"
  144.         NotAccessible = 1123,
  145.         // "Not accessible from this scope"
  146.         CannotUseNameOfClass = 1124,
  147.         //"Only a constructor function can have the same name as the class it appears in"
  148.         MustImplementMethod = 1128,
  149.         //"Class must provide implementation"
  150.         NeedInterface = 1129,
  151.         //"Interface name expected"
  152.         UnreachableCatch = 1133,
  153.         //"Catch clause will never be reached"
  154.         TypeCannotBeExtended = 1134,
  155.         //"Type cannot be extended"
  156.         UndeclaredVariable = 1135,
  157.         // "Variable has not been declared"
  158.         VariableLeftUninitialized = 1136,
  159.         // "Uninitialized variables are dangerous and slow to use. Did you intend to leave it uninitialized?"
  160.         KeywordUsedAsIdentifier = 1137,
  161.         // "'xxxx' is a new reserved word and should not be used as an identifier"
  162.         NotAllowedInSuperConstructorCall = 1140,
  163.         //"Not allowed in a call to the super class constructor"
  164.         NotMeantToBeCalledDirectly = 1141,
  165.         //"This method is not meant to be called directly. It is probably part of a property definition."
  166.         GetAndSetAreInconsistent = 1142,
  167.         //"The get and set methods of this property do not match each other"
  168.         InvalidCustomAttribute = 1143,
  169.         //"A custom attribute class must derive from System.Attribute"
  170.         InvalidCustomAttributeArgument = 1144,
  171.         //"Only primitive types are allowed in a custom attribute constructor arguments list"
  172.         InvalidCustomAttributeClassOrCtor = 1146,
  173.         //"Unknown custom attribute class or constructor"
  174.         TooManyParameters = 1148,
  175.         //"There are too many actual parameters. The excess parameters will be ignored."
  176.         AmbiguousBindingBecauseOfWith = 1149,
  177.         //"The with statement has made the use of this name ambiguous"
  178.         AmbiguousBindingBecauseOfEval = 1150,
  179.         //"The presence of eval has made the use of this name ambiguous"
  180.         NoSuchMember = 1151,
  181.         //"Object of this type do not have such a member"
  182.         ItemNotAllowedOnExpandoClass = 1152,
  183.         //"Cannot define the property Item on an Expando class. Item is reserved for the expando fields."
  184.         MethodNotAllowedOnExpandoClass = 1153,
  185.         //"Cannot define get_Item or set_Item on an Expando class. Methods reserved for the expando fields."
  186.         MethodClashOnExpandoSuperClass = 1155,
  187.         //"Base class defines get_Item or set_Item, cannot create expando class. Methods reserved for the expando fields."
  188.         BaseClassIsExpandoAlready = 1156,
  189.         //"A base class is already marked expando; current specification will be ignored."
  190.         AbstractCannotBePrivate = 1157,
  191.         //"An abstract method cannot be private"
  192.         NotIndexable = 1158,
  193.         //"Objects of this type are not indexable"
  194.         StaticMissingInStaticInit = 1159,
  195.         //"Static intializer must specify the 'static' keyword
  196.         MissingConstructForAttributes = 1160,
  197.         //"The list of attributes does not apply to the current context."
  198.         OnlyClassesAllowed = 1161,
  199.         //"Only classes are allowed inside a package."
  200.         ExpandoClassShouldNotImpleEnumerable = 1162,
  201.         //"Expando class should not implement IEnumerable or GetEnumerator. The interface is implicitely defined on expando classes"
  202.         NonCLSCompliantMember = 1163,
  203.         //"The specified member is not CLS compliant"
  204.         NotDeletable = 1164,
  205.         //"'xxxx' can not be deleted"
  206.         PackageExpected = 1165,
  207.         //"Package name expected"
  208.         UselessExpression = 1169,
  209.         //"Expression has no effect. Parentheses are required for function calls"
  210.         HidesParentMember = 1170,
  211.         // "Base class contains already a member by this name"
  212.         CannotChangeVisibility = 1171,
  213.         // "Cannot change visibility specification of a base method"
  214.         HidesAbstractInBase = 1172,
  215.         // "Method hides abstract in a base class"
  216.         NewNotSpecifiedInMethodDeclaration = 1173,
  217.         // "Method matches a method in a base class. Must specify 'override' or 'hide'"
  218.         MethodInBaseIsNotVirtual = 1174,
  219.         // "Method in base class is final or not virtual, 'override' ignored. Should specify 'hide'"
  220.         NoMethodInBaseToNew = 1175,
  221.         // "There is no member in a base class to 'hide'"
  222.         DifferentReturnTypeFromBase = 1176,
  223.         // "Method in base has a different return type"
  224.         ClashWithProperty = 1177,
  225.         // "Clashes with property"
  226.         OverrideAndHideUsedTogether = 1178,
  227.         // "Cannot use 'override' and 'hide' together in a member declaraton"
  228.         InvalidLanguageOption = 1179,
  229.         // "Must specify either 'fast' or 'versionSafe'"
  230.         NoMethodInBaseToOverride = 1180,
  231.         // "There is no member in a base class to 'override'"
  232.         NotValidForConstructor = 1181,
  233.         //"Not valid for a constructor"
  234.         CannotReturnValueFromVoidFunction = 1182,
  235.         //"Cannot return a value from a void function or constructor"
  236.         AmbiguousMatch = 1183,
  237.         //"More than one method or property matches this parameter list"
  238.         AmbiguousConstructorCall = 1184,
  239.         //"More than one constructor matches this parameter list"
  240.         SuperClassConstructorNotAccessible = 1185,
  241.         //"Superclass constructor is not accessible from this scope"
  242.         OctalLiteralsAreDeprecated = 1186,
  243.         //"Octal literals are deprecated"
  244.         VariableMightBeUnitialized = 1187,
  245.         //"Variable might not be initialized"
  246.         NotOKToCallSuper = 1188,
  247.         //"It is not valid to call a super constructor from this location"
  248.         IllegalUseOfSuper = 1189,
  249.         //"It is not valid to use the super keyword in this way
  250.         BadWayToLeaveFinally = 1190,
  251.         //"It is slow and potentially confusing to leave a finally block this way. Is this intentional?"
  252.         NoCommaOrTypeDefinitionError = 1191,
  253.         // "Expected ',' or illegal type declaration, write '<Identifier> : <Type>' not '<Type> <Identifier>'"
  254.         AbstractWithBody = 1192,
  255.         // "Abstract function cannot have body"
  256.         NoRightParenOrComma = 1193,
  257.         // "Expected ',' or ')'"
  258.         NoRightBracketOrComma = 1194,
  259.         // "Expected ',' or ']'"
  260.         ExpressionExpected = 1195,
  261.         // "Expected expression"
  262.         UnexpectedSemicolon = 1196,
  263.         // "Unexpected ';'"
  264.         TooManyTokensSkipped = 1197,
  265.         // "Too many tokens have been skipped in the process of recovering from errors. The file may not be a JScript file"
  266.         BadVariableDeclaration = 1198,
  267.         // "Possible illegal variable declaration, 'var' missing, or unrecognized syntax error"
  268.         BadFunctionDeclaration = 1199,
  269.         // "Possible illegal function declaration, 'function' missing, or unrecognized syntax error"
  270.         BadPropertyDeclaration = 1200,
  271.         // "Illegal properties declaration. The getter must not have arguments and the setter must have one argument"
  272.         DoesNotHaveAnAddress = 1203,
  273.         //"Expression does not have an address"
  274.         TooFewParameters = 1204,
  275.         //"Not all required parameters have been supplied"
  276.         UselessAssignment = 1205,
  277.         //"Assignment creates an expando property that is immediately thrown away"
  278.         SuspectAssignment = 1206,
  279.         //"Did you intend to write an assignment here?"
  280.         SuspectSemicolon = 1207,
  281.         //"Did you intend to have an empty statement for this branch of the if statement?"
  282.         ImpossibleConversion = 1208,
  283.         //"The specified conversion or coercion is not possible"
  284.         FinalPrecludesAbstract = 1209,
  285.         //"final and abstract cannot be used together"
  286.         NeedInstance = 1210,
  287.         //"Must be an instance"
  288.         CannotBeAbstract = 1212,
  289.         //"Cannot be abstract unless class is marked as abstract"
  290.         InvalidBaseTypeForEnum = 1213,
  291.         //"Enum base type must be a primitive integral type"
  292.         CannotInstantiateAbstractClass = 1214,
  293.         //"It is not possible to construct an instance of an abstract class"
  294.         ArrayMayBeCopied = 1215,
  295.         //"Assigning a JScript Array to a System.Array may cause the array to be copied."
  296.         AbstractCannotBeStatic = 1216,
  297.         //"Static methods cannot be abstract"
  298.         StaticIsAlreadyFinal = 1217,
  299.         //"Static methods cannot be final"
  300.         StaticMethodsCannotOverride = 1218,
  301.         //"Static methods cannot override base class methods"
  302.         StaticMethodsCannotHide = 1219,
  303.         //"Static methods cannot hide base class methods"
  304.         ExpandoPrecludesOverride = 1220,
  305.         //"Expando methods cannot override base class methods"
  306.         IllegalParamArrayAttribute = 1221,
  307.         //"A variable argument list must be of an array type"
  308.         ExpandoPrecludesAbstract = 1222,
  309.         //"Expando methods cannot be abstract"
  310.         ShouldBeAbstract = 1223,
  311.         // "A function without a body should be abstract"
  312.         BadModifierInInterface = 1224,
  313.         // "This modifier cannot be used on an interface member"
  314.         VarIllegalInInterface = 1226,
  315.         //"Variables cannot be declared in an interface"
  316.         InterfaceIllegalInInterface = 1227,
  317.         //"Interfaces cannot be declared in an interface"
  318.         NoVarInEnum = 1228,
  319.         //"Enum member declarations should not use the 'var' keyword"
  320.         InvalidImport = 1229,
  321.         //"The import statement is not valid in this context"
  322.         EnumNotAllowed = 1230,
  323.         //"Enum definition not allowed in this context"
  324.         InvalidCustomAttributeTarget = 1231,
  325.         //"Attribute not valid for this type of declaration"
  326.         PackageInWrongContext = 1232,
  327.         //"Package definition is not allowed in this context"
  328.         ConstructorMayNotHaveReturnType = 1233,
  329.         //"A constructor function may not have a return type"
  330.         OnlyClassesAndPackagesAllowed = 1234,
  331.         //"Only classes and packages are allowed inside a library"
  332.         InvalidDebugDirective = 1235,
  333.         // "Invalid debug directive"
  334.         CustomAttributeUsedMoreThanOnce = 1236,
  335.         //"This type of attribute must be unique"
  336.         NestedInstanceTypeCannotBeExtendedByStatic = 1237,
  337.         //"A non-static nested type can only be extended by non-static type nested in the same class"
  338.         PropertyLevelAttributesMustBeOnGetter = 1238,
  339.         //"An attribute that targets the property must be specified on the property getter, if present"
  340.         BadThrow = 1239,
  341.         //"A throw must have an argument when not inside the catch block of a try statement
  342.         ParamListNotLast = 1240,
  343.         //"A variable argument list must be the last argument
  344.         NoSuchType = 1241,
  345.         //"Type could not be found, is an assembly reference missing?
  346.         BadOctalLiteral = 1242,
  347.         //"Malformed octal literal treated as decimal literal"
  348.         InstanceNotAccessibleFromStatic = 1243,
  349.         //"A non-static member is not accessible from a static scope"
  350.         StaticRequiresTypeName = 1244,
  351.         //"A static member must be accessed with the class name"
  352.         NonStaticWithTypeName = 1245,
  353.         //"A non-static member cannot be accessed with the class name"
  354.         NoSuchStaticMember = 1246,
  355.         //"Type does not have such a static member"
  356.         SuspectLoopCondition = 1247,
  357.         //"The loop condition is a function reference. Did you intend to call the function?"
  358.         ExpectedAssembly = 1248,
  359.         //"Expected assembly"
  360.         AssemblyAttributesMustBeGlobal = 1249,
  361.         //Assembly custom attributes may not be part of another construct
  362.         ExpandoPrecludesStatic = 1250,
  363.         //"Expando methods cannot be static"
  364.         DuplicateMethod = 1251,
  365.         //"This method has the same name, parameter types and return type as another method in this class"
  366.         NotAnExpandoFunction = 1252,
  367.         //"Class members used as constructors should be marked as expando functions"
  368.         NotValidVersionString = 1253,
  369.         //"Not a valid version string"
  370.         ExecutablesCannotBeLocalized = 1254,
  371.         //Executables cannot be localized, Culture should always be empty
  372.         StringConcatIsSlow = 1255,
  373.         CcInvalidInDebugger = 1256,
  374.         //"Conditional compilation directives and variables cannot be used in the debugger"
  375.         ExpandoMustBePublic = 1257,
  376.         //Expando methods must be public
  377.         DelegatesShouldNotBeExplicitlyConstructed = 1258,
  378.         //Delegates should not be explicitly constructed, simply use the method name
  379.         ImplicitlyReferencedAssemblyNotFound = 1259,
  380.         //"A referenced assembly depends on another assembly that is not referenced or could not be found"
  381.         PossibleBadConversion = 1260,
  382.         //"This conversion may fail at runtime"
  383.         PossibleBadConversionFromString = 1261,
  384.         //"Converting a string to a number or boolean is slow and may fail at runtime"
  385.         InvalidResource = 1262,
  386.         //"Not a valid .resources file"
  387.         WrongUseOfAddressOf = 1263,
  388.         //"The address of operator can only be used in a list of arguments"
  389.         NonCLSCompliantType = 1264,
  390.         //"The specified type is not CLS compliant"
  391.         MemberTypeCLSCompliantMismatch = 1265,
  392.         //"Class member cannot be marked CLS compliant because the class is not marked as CLS compliant"
  393.         TypeAssemblyCLSCompliantMismatch = 1266,
  394.         //"Type cannot be marked CLS compliant because the assembly is not marked as CLS compliant"
  395.         IncompatibleAssemblyReference = 1267,
  396.         //"Referenced assembly targets a different processor"
  397.         InvalidAssemblyKeyFile = 1268,
  398.         //"Assembly key file not found or contains invalid data"
  399.         TypeNameTooLong = 1269,
  400.         //"Fully qualified type name must be less than 1024 characters"
  401.         MemberInitializerCannotContainFuncExpr = 1270,
  402.         //"A class member initializer cannot contain a function expression"
  403.         //5000 - 6000 JScript errors that can occur during execution. Typically (also) used in "throw new JScriptException".
  404.         CantAssignThis = 5000,
  405.         // "Cannot assign to 'this'"
  406.         NumberExpected = 5001,
  407.         // "Number expected"
  408.         FunctionExpected = 5002,
  409.         // "Function expected"
  410.         CannotAssignToFunctionResult = 5003,
  411.         // "Cannot assign to a function result"
  412.         StringExpected = 5005,
  413.         // "String expected"
  414.         DateExpected = 5006,
  415.         // "Date object expected"
  416.         ObjectExpected = 5007,
  417.         // "Object expected"
  418.         IllegalAssignment = 5008,
  419.         // "Illegal assignment"
  420.         UndefinedIdentifier = 5009,
  421.         // "Undefined identifier"
  422.         BooleanExpected = 5010,
  423.         // "Boolean expected"
  424.         VBArrayExpected = 5013,
  425.         // "VBArray expected"
  426.         EnumeratorExpected = 5015,
  427.         // "Enumerator object expected"
  428.         RegExpExpected = 5016,
  429.         // "Regular Expression object expected"
  430.         RegExpSyntax = 5017,
  431.         // "Syntax error in regular expression"
  432.         UncaughtException = 5022,
  433.         // "Exception thrown and not caught"
  434.         InvalidPrototype = 5023,
  435.         // "Function does not have a valid prototype object"
  436.         URIEncodeError = 5024,
  437.         //"The URI to be encoded contains an invalid character"
  438.         URIDecodeError = 5025,
  439.         //"The URI to be decoded is not a valid encoding"
  440.         FractionOutOfRange = 5026,
  441.         //"The number of fractional digits is out of range"
  442.         PrecisionOutOfRange = 5027,
  443.         //"The precision is out of range"
  444.         ArrayLengthConstructIncorrect = 5029,
  445.         //"Array length must be a finite positive integer"
  446.         ArrayLengthAssignIncorrect = 5030,
  447.         //"Array length must be assigned a finite positive number"
  448.         NeedArrayObject = 5031,
  449.         //"| is not an Array object", "Array object expected"
  450.         NoConstructor = 5032,
  451.         // "No such constructor"
  452.         IllegalEval = 5033,
  453.         // "Eval may not be called via an alias"
  454.         NotYetImplemented = 5034,
  455.         // "Not yet implemented"
  456.         MustProvideNameForNamedParameter = 5035,
  457.         // "Cannot provide null or empty named parameter name"
  458.         DuplicateNamedParameter = 5036,
  459.         // "Duplicate named parameter name"
  460.         MissingNameParameter = 5037,
  461.         // "The specified named parameter name it is not one of the formal parameters"
  462.         MoreNamedParametersThanArguments = 5038,
  463.         // "Too few arguments specified. The number of named parameters names cannot exceed the number of arguments passed in."
  464.         NonSupportedInDebugger = 5039,
  465.         //"The expression cannot be evaluated in the debugger"
  466.         AssignmentToReadOnly = 5040,
  467.         //"Assignment to read-only field or property"
  468.         WriteOnlyProperty = 5041,
  469.         //"The property can only be assigned to"
  470.         IncorrectNumberOfIndices = 5042,
  471.         //"The number of indices does not match the dimension of the array"
  472.         RefParamsNonSupportedInDebugger = 5043,
  473.         //"Methods with ref parameters cannot be called in the debugger"
  474.         CannotCallSecurityMethodLateBound = 5044,
  475.         //"The Deny, PermitOnly and Assert security methods cannot be called using late binding"
  476.         CannotUseStaticSecurityAttribute = 5045,
  477.         //"JScript does not support static security attributes"
  478.         NonClsException = 5046,
  479.         //"A target threw a non-CLS exception"
  480.         // 6000 - 7000 Errors which are only given by the JScript debugger
  481.         FuncEvalAborted = 6000,
  482.         //"Function evaluation was aborted"
  483.         FuncEvalTimedout = 6001,
  484.         //"Function evaluation timed out"
  485.         FuncEvalThreadSuspended = 6002,
  486.         //"Function evaluation failed : the thread is suspended"
  487.         FuncEvalThreadSleepWaitJoin = 6003,
  488.         //"Function evaluation failed : the thread is sleeping, waiting on an object, or waiting for another thread to finish"
  489.         FuncEvalBadThreadState = 6004,
  490.         //"Function evaluation failed : the thread is in a bad state"
  491.         FuncEvalBadThreadNotStarted = 6005,
  492.         //"Function evaluation failed : the thread has not started"
  493.         NoFuncEvalAllowed = 6006,
  494.         //"Function evaluation aborted. To turn property evaluation on goto Tools - Options - Debugging"
  495.         FuncEvalBadLocation = 6007,
  496.         //"Function evaluation cannot be be done when stopped at this point in the program"
  497.         FuncEvalWebMethod = 6008,
  498.         //"Cannot call a web method in the debugger"
  499.         StaticVarNotAvailable = 6009,
  500.         //"Static variable is not available"
  501.         TypeObjectNotAvailable = 6010,
  502.         //"The type object for this type is not available"
  503.         ExceptionFromHResult = 6011,
  504.         //"Exception from HRESULT :
  505.         SideEffectsDisallowed = 6012
  506.         //"This expression causes side effects and will not be evaluated"
  507.     }
  508. }

Developer Fusion