diff --git a/src/net/engine/JCOReflectorOptions.template b/src/net/engine/JCOReflectorOptions.template index 5bf18f6cb1b..219ecef9d8e 100644 --- a/src/net/engine/JCOReflectorOptions.template +++ b/src/net/engine/JCOReflectorOptions.template @@ -24,7 +24,7 @@ /************************************************************************************** * - * This code was generated from a template using JCOReflector + * This code was generated from a template using JCOReflector v. JCOREFLECTOR_VERSION * * Manual changes to this file may cause unexpected behavior in your application. * Manual changes to this file will be overwritten if the code is regenerated. diff --git a/src/net/engine/JCObjectReflectorClass.template b/src/net/engine/JCObjectReflectorClass.template index eb9d8c9e598..997babed991 100644 --- a/src/net/engine/JCObjectReflectorClass.template +++ b/src/net/engine/JCObjectReflectorClass.template @@ -24,7 +24,7 @@ /************************************************************************************** * - * This code was generated from a template using JCOReflector + * This code was generated from a template using JCOReflector v. JCOREFLECTOR_VERSION * * Manual changes to this file may cause unexpected behavior in your application. * Manual changes to this file will be overwritten if the code is regenerated. diff --git a/src/net/engine/JCObjectReflectorEnum.template b/src/net/engine/JCObjectReflectorEnum.template index 0ce9afc7615..ac2edfe9b0f 100644 --- a/src/net/engine/JCObjectReflectorEnum.template +++ b/src/net/engine/JCObjectReflectorEnum.template @@ -24,7 +24,7 @@ /************************************************************************************** * - * This code was generated from a template using JCOReflector + * This code was generated from a template using JCOReflector v. JCOREFLECTOR_VERSION * * Manual changes to this file may cause unexpected behavior in your application. * Manual changes to this file will be overwritten if the code is regenerated. diff --git a/src/net/engine/JCObjectReflectorEnumerator.template b/src/net/engine/JCObjectReflectorEnumerator.template index 45dc8f9d2ea..5cb526ec0e0 100644 --- a/src/net/engine/JCObjectReflectorEnumerator.template +++ b/src/net/engine/JCObjectReflectorEnumerator.template @@ -24,7 +24,7 @@ /************************************************************************************** * - * This code was generated from a template using JCOReflector + * This code was generated from a template using JCOReflector v. JCOREFLECTOR_VERSION * * Manual changes to this file may cause unexpected behavior in your application. * Manual changes to this file will be overwritten if the code is regenerated. diff --git a/src/net/engine/JCObjectReflectorInterface.template b/src/net/engine/JCObjectReflectorInterface.template index 0fedef7874a..fa0bea7fcaa 100644 --- a/src/net/engine/JCObjectReflectorInterface.template +++ b/src/net/engine/JCObjectReflectorInterface.template @@ -24,7 +24,7 @@ /************************************************************************************** * - * This code was generated from a template using JCOReflector + * This code was generated from a template using JCOReflector v. JCOREFLECTOR_VERSION * * Manual changes to this file may cause unexpected behavior in your application. * Manual changes to this file will be overwritten if the code is regenerated. diff --git a/src/net/engine/JCObjectReflectorInterfaceClass.template b/src/net/engine/JCObjectReflectorInterfaceClass.template index 8ceed923d70..c5aea8e8c30 100644 --- a/src/net/engine/JCObjectReflectorInterfaceClass.template +++ b/src/net/engine/JCObjectReflectorInterfaceClass.template @@ -24,7 +24,7 @@ /************************************************************************************** * - * This code was generated from a template using JCOReflector + * This code was generated from a template using JCOReflector v. JCOREFLECTOR_VERSION * * Manual changes to this file may cause unexpected behavior in your application. * Manual changes to this file will be overwritten if the code is regenerated. diff --git a/src/net/engine/JCObjectReflectorNativeDelegateClass.template b/src/net/engine/JCObjectReflectorNativeDelegateClass.template index ee8c8dbc878..cead82fcc55 100644 --- a/src/net/engine/JCObjectReflectorNativeDelegateClass.template +++ b/src/net/engine/JCObjectReflectorNativeDelegateClass.template @@ -24,7 +24,7 @@ /************************************************************************************** * - * This code was generated from a template using JCOReflector + * This code was generated from a template using JCOReflector v. JCOREFLECTOR_VERSION * * Manual changes to this file may cause unexpected behavior in your application. * Manual changes to this file will be overwritten if the code is regenerated. diff --git a/src/net/engine/JCObjectReflectorNonVoidDelegateInterface.template b/src/net/engine/JCObjectReflectorNonVoidDelegateInterface.template index ac8fd921365..a7b04b56b4b 100644 --- a/src/net/engine/JCObjectReflectorNonVoidDelegateInterface.template +++ b/src/net/engine/JCObjectReflectorNonVoidDelegateInterface.template @@ -24,7 +24,7 @@ /************************************************************************************** * - * This code was generated from a template using JCOReflector + * This code was generated from a template using JCOReflector v. JCOREFLECTOR_VERSION * * Manual changes to this file may cause unexpected behavior in your application. * Manual changes to this file will be overwritten if the code is regenerated. diff --git a/src/net/engine/JCObjectReflectorObjectDelegateClass.template b/src/net/engine/JCObjectReflectorObjectDelegateClass.template index 08ef96e336a..ef7d44eb70f 100644 --- a/src/net/engine/JCObjectReflectorObjectDelegateClass.template +++ b/src/net/engine/JCObjectReflectorObjectDelegateClass.template @@ -24,7 +24,7 @@ /************************************************************************************** * - * This code was generated from a template using JCOReflector + * This code was generated from a template using JCOReflector v. JCOREFLECTOR_VERSION * * Manual changes to this file may cause unexpected behavior in your application. * Manual changes to this file will be overwritten if the code is regenerated. diff --git a/src/net/engine/JCObjectReflectorThrowableClass.template b/src/net/engine/JCObjectReflectorThrowableClass.template index fca975dd289..7c8baeb8433 100644 --- a/src/net/engine/JCObjectReflectorThrowableClass.template +++ b/src/net/engine/JCObjectReflectorThrowableClass.template @@ -24,7 +24,7 @@ /************************************************************************************** * - * This code was generated from a template using JCOReflector + * This code was generated from a template using JCOReflector v. JCOREFLECTOR_VERSION * * Manual changes to this file may cause unexpected behavior in your application. * Manual changes to this file will be overwritten if the code is regenerated. diff --git a/src/net/engine/JCObjectReflectorVoidDelegateClass.template b/src/net/engine/JCObjectReflectorVoidDelegateClass.template index d8aae4c4fc8..bfc37fc74b2 100644 --- a/src/net/engine/JCObjectReflectorVoidDelegateClass.template +++ b/src/net/engine/JCObjectReflectorVoidDelegateClass.template @@ -24,7 +24,7 @@ /************************************************************************************** * - * This code was generated from a template using JCOReflector + * This code was generated from a template using JCOReflector v. JCOREFLECTOR_VERSION * * Manual changes to this file may cause unexpected behavior in your application. * Manual changes to this file will be overwritten if the code is regenerated. diff --git a/src/net/engine/JCObjectReflectorVoidDelegateInterface.template b/src/net/engine/JCObjectReflectorVoidDelegateInterface.template index 956ac4021ec..8dc3b3545f6 100644 --- a/src/net/engine/JCObjectReflectorVoidDelegateInterface.template +++ b/src/net/engine/JCObjectReflectorVoidDelegateInterface.template @@ -24,7 +24,7 @@ /************************************************************************************** * - * This code was generated from a template using JCOReflector + * This code was generated from a template using JCOReflector v. JCOREFLECTOR_VERSION * * Manual changes to this file may cause unexpected behavior in your application. * Manual changes to this file will be overwritten if the code is regenerated. diff --git a/src/net/engine/Reflector.cs b/src/net/engine/Reflector.cs index de0fed04f9c..c63d92e69c7 100644 --- a/src/net/engine/Reflector.cs +++ b/src/net/engine/Reflector.cs @@ -341,7 +341,8 @@ static void WriteExtraClasses(ReflectorEventArgs args) var assembyStr = assembyStrSb.ToString(); assembyStr = assembyStr.Substring(0, assembyStr.Length - 2); - var jcoBridgeOptionsContent = jcoBridgeOptionsTemplate.Replace(Const.Options.Assembly_Names_Value, assembyStr) + var jcoBridgeOptionsContent = jcoBridgeOptionsTemplate.Replace(Const.Class.JCOREFLECTOR_VERSION, Const.ReflectorVersion) + .Replace(Const.Options.Assembly_Names_Value, assembyStr) .Replace(Const.Options.Create_Exception_Thrown_Clause_Value, CreateExceptionThrownClause ? "true" : "false") .Replace(Const.Options.Exception_Thrown_Clause_Depth_Value, ExceptionThrownClauseDepth.ToString()) .Replace(Const.Options.Enable_Abstract_Value, EnableAbstract ? "true" : "false")