The Labs \ Source Viewer \ SSCLI \ System \ ResId

  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. /*============================================================
  16. **
  17. ** Class:  ResId
  18. **
  19. **
  20. ** Purpose: Contains identifiers for each of the resources
  21. **          specified in resources.txt
  22. **
  23. **
  24. ===========================================================*/
  25. namespace System
  26. {
  27.     //This class contains only static members and does not need to be serializable.
  28.     using System.Configuration.Assemblies;
  29.     using System;
  30.     static internal class ResId
  31.     {
  32.         // Only statics, does not need to be marked with the serializable attribute
  33.         internal const string Arg_ArrayLengthsDiffer = "Arg_ArrayLengthsDiffer";
  34.         internal const string Argument_InvalidNumberOfMembers = "Argument_InvalidNumberOfMembers";
  35.         internal const string Argument_UnequalMembers = "Argument_UnequalMembers";
  36.         internal const string Argument_SpecifyValueSize = "Argument_SpecifyValueSize";
  37.         internal const string Argument_UnmatchingSymScope = "Argument_UnmatchingSymScope";
  38.         internal const string Argument_NotInExceptionBlock = "Argument_NotInExceptionBlock";
  39.         internal const string Argument_NotExceptionType = "Argument_NotExceptionType";
  40.         internal const string Argument_InvalidLabel = "Argument_InvalidLabel";
  41.         internal const string Argument_UnclosedExceptionBlock = "Argument_UnclosedExceptionBlock";
  42.         internal const string Argument_MissingDefaultConstructor = "Argument_MissingDefaultConstructor";
  43.         internal const string Argument_TooManyFinallyClause = "Argument_TooManyFinallyClause";
  44.         internal const string Argument_NotInTheSameModuleBuilder = "Argument_NotInTheSameModuleBuilder";
  45.         internal const string Argument_BadCurrentLocalVariable = "Argument_BadCurrentLocalVariable";
  46.         internal const string Argument_DuplicateModuleName = "Argument_DuplicateModuleName";
  47.         internal const string Argument_BadPersistableModuleInTransientAssembly = "Argument_BadPersistableModuleInTransientAssembly";
  48.         internal const string Argument_HasToBeArrayClass = "Argument_HasToBeArrayClass";
  49.         internal const string Argument_InvalidDirectory = "Argument_InvalidDirectory";
  50.        
  51.         internal const string MissingType = "MissingType";
  52.         internal const string MissingModule = "MissingModule";
  53.        
  54.         internal const string ArgumentOutOfRange_Index = "ArgumentOutOfRange_Index";
  55.         internal const string ArgumentOutOfRange_Range = "ArgumentOutOfRange_Range";
  56.        
  57.         internal const string ExecutionEngine_YoureHosed = "ExecutionEngine_YoureHosed";
  58.        
  59.         internal const string Format_NeedSingleChar = "Format_NeedSingleChar";
  60.         internal const string Format_StringZeroLength = "Format_StringZeroLength";
  61.        
  62.         internal const string InvalidOperation_EnumEnded = "InvalidOperation_EnumEnded";
  63.         internal const string InvalidOperation_EnumFailedVersion = "InvalidOperation_EnumFailedVersion";
  64.         internal const string InvalidOperation_EnumNotStarted = "InvalidOperation_EnumNotStarted";
  65.         internal const string InvalidOperation_EnumOpCantHappen = "InvalidOperation_EnumOpCantHappen";
  66.         internal const string InvalidOperation_InternalState = "InvalidOperation_InternalState";
  67.         internal const string InvalidOperation_ModifyRONumFmtInfo = "InvalidOperation_ModifyRONumFmtInfo";
  68.         internal const string InvalidOperation_MethodBaked = "InvalidOperation_MethodBaked";
  69.         internal const string InvalidOperation_NotADebugModule = "InvalidOperation_NotADebugModule";
  70.         internal const string InvalidOperation_MethodHasBody = "InvalidOperation_MethodHasBody";
  71.         internal const string InvalidOperation_OpenLocalVariableScope = "InvalidOperation_OpenLocalVariableScope";
  72.         internal const string InvalidOperation_TypeHasBeenCreated = "InvalidOperation_TypeHasBeenCreated";
  73.         internal const string InvalidOperation_RefedAssemblyNotSaved = "InvalidOperation_RefedAssemblyNotSaved";
  74.         internal const string InvalidOperation_AssemblyHasBeenSaved = "InvalidOperation_AssemblyHasBeenSaved";
  75.         internal const string InvalidOperation_ModuleHasBeenSaved = "InvalidOperation_ModuleHasBeenSaved";
  76.         internal const string InvalidOperation_CannotAlterAssembly = "InvalidOperation_CannotAlterAssembly";
  77.        
  78.         internal const string NotSupported_CannotSaveModuleIndividually = "NotSupported_CannotSaveModuleIndividually";
  79.         internal const string NotSupported_Constructor = "NotSupported_Constructor";
  80.         internal const string NotSupported_Method = "NotSupported_Method";
  81.         internal const string NotSupported_NYI = "NotSupported_NYI";
  82.         internal const string NotSupported_DynamicModule = "NotSupported_DynamicModule";
  83.         internal const string NotSupported_NotDynamicModule = "NotSupported_NotDynamicModule";
  84.         internal const string NotSupported_NotAllTypesAreBaked = "NotSupported_NotAllTypesAreBaked";
  85.         internal const string NotSupported_SortedListNestedWrite = "NotSupported_SortedListNestedWrite";
  86.        
  87.        
  88.         internal const string Serialization_ArrayInvalidLength = "Serialization_ArrayInvalidLength";
  89.         internal const string Serialization_ArrayNoLength = "Serialization_ArrayNoLength";
  90.         internal const string Serialization_CannotGetType = "Serialization_CannotGetType";
  91.         internal const string Serialization_InsufficientState = "Serialization_InsufficientState";
  92.         internal const string Serialization_InvalidID = "Serialization_InvalidID";
  93.         internal const string Serialization_MalformedArray = "Serialization_MalformedArray";
  94.         internal const string Serialization_MultipleMembers = "Serialization_MultipleMembers";
  95.         internal const string Serialization_NoID = "Serialization_NoID";
  96.         internal const string Serialization_NoType = "Serialization_NoType";
  97.         internal const string Serialization_NoBaseType = "Serialization_NoBaseType";
  98.         internal const string Serialization_NullSignature = "Serialization_NullSignature";
  99.         internal const string Serialization_UnknownMember = "Serialization_UnknownMember";
  100.         internal const string Serialization_BadParameterInfo = "Serialization_BadParameterInfo";
  101.         internal const string Serialization_NoParameterInfo = "Serialization_NoParameterInfo";
  102.        
  103.         internal const string WeakReference_NoLongerValid = "WeakReference_NoLongerValid";
  104.         internal const string Loader_InvalidPath = "Loader_InvalidPath";
  105.     }
  106. }

Developer Fusion