From 98cf331db2fb25f48796a6fba43b476c512f47d5 Mon Sep 17 00:00:00 2001 From: Kevin Glynn Date: Wed, 26 Jan 2011 11:47:54 +0100 Subject: [PATCH] Add source project for cs2j testing --- .../antlr3/CS2JTesterProject/AssemblyInfo.cs | 27 +++++++++++++ .../CS2JTesterProject.csproj | 40 +++++++++++++++++++ .../antlr3/CS2JTesterProject/Main.cs | 23 +++++++++++ CSharpTranslator/antlr3/CSharpTranslator.sln | 8 ++++ 4 files changed, 98 insertions(+) create mode 100644 CSharpTranslator/antlr3/CS2JTesterProject/AssemblyInfo.cs create mode 100644 CSharpTranslator/antlr3/CS2JTesterProject/CS2JTesterProject.csproj create mode 100644 CSharpTranslator/antlr3/CS2JTesterProject/Main.cs diff --git a/CSharpTranslator/antlr3/CS2JTesterProject/AssemblyInfo.cs b/CSharpTranslator/antlr3/CS2JTesterProject/AssemblyInfo.cs new file mode 100644 index 0000000..d04728b --- /dev/null +++ b/CSharpTranslator/antlr3/CS2JTesterProject/AssemblyInfo.cs @@ -0,0 +1,27 @@ +using System.Reflection; +using System.Runtime.CompilerServices; + +// Information about this assembly is defined by the following attributes. +// Change them to the values specific to your project. + +[assembly: AssemblyTitle("CS2JTesterProject")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". +// The form "{Major}.{Minor}.*" will automatically update the build and revision, +// and "{Major}.{Minor}.{Build}.*" will update just the revision. + +[assembly: AssemblyVersion("1.0.*")] + +// The following attributes are used to specify the signing key for the assembly, +// if desired. See the Mono documentation for more information about signing. + +//[assembly: AssemblyDelaySign(false)] +//[assembly: AssemblyKeyFile("")] + diff --git a/CSharpTranslator/antlr3/CS2JTesterProject/CS2JTesterProject.csproj b/CSharpTranslator/antlr3/CS2JTesterProject/CS2JTesterProject.csproj new file mode 100644 index 0000000..52d41fa --- /dev/null +++ b/CSharpTranslator/antlr3/CS2JTesterProject/CS2JTesterProject.csproj @@ -0,0 +1,40 @@ + + + + Debug + AnyCPU + 10.0.0 + 2.0 + {409226EE-D546-43F6-84B8-B8F43DED5556} + Exe + CS2JTesterProject + CS2JTesterProject + v3.5 + + + true + full + false + bin\Debug + DEBUG + prompt + 4 + true + + + none + false + bin\Release + prompt + 4 + true + + + + + + + + + + \ No newline at end of file diff --git a/CSharpTranslator/antlr3/CS2JTesterProject/Main.cs b/CSharpTranslator/antlr3/CS2JTesterProject/Main.cs new file mode 100644 index 0000000..83c35fb --- /dev/null +++ b/CSharpTranslator/antlr3/CS2JTesterProject/Main.cs @@ -0,0 +1,23 @@ +using System; +using System.Collections; + +namespace CS2JTesterProject +{ + class MainClass + { + public static void Main (string[] args) + { + Console.WriteLine ("Hello World!"); + + foreach(Char c in "Hello World") { + Console.Write (c); + } + + foreach(Char c in new ArrayList()) { + Console.Write (c); + + } + } + } +} + diff --git a/CSharpTranslator/antlr3/CSharpTranslator.sln b/CSharpTranslator/antlr3/CSharpTranslator.sln index 114a13d..97cf2c5 100644 --- a/CSharpTranslator/antlr3/CSharpTranslator.sln +++ b/CSharpTranslator/antlr3/CSharpTranslator.sln @@ -17,6 +17,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cs2jTemplateGen", "src\cs2j EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UpdateTxFiles", "UpdateTxFiles\UpdateTxFiles.csproj", "{4B69CC57-FAC3-464F-9103-5187421DB85F}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CS2JTesterProject", "CS2JTesterProject\CS2JTesterProject.csproj", "{409226EE-D546-43F6-84B8-B8F43DED5556}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -24,6 +26,12 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution + {409226EE-D546-43F6-84B8-B8F43DED5556}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {409226EE-D546-43F6-84B8-B8F43DED5556}.Debug|Any CPU.Build.0 = Debug|Any CPU + {409226EE-D546-43F6-84B8-B8F43DED5556}.Default|Any CPU.ActiveCfg = Debug|Any CPU + {409226EE-D546-43F6-84B8-B8F43DED5556}.Default|Any CPU.Build.0 = Debug|Any CPU + {409226EE-D546-43F6-84B8-B8F43DED5556}.Release|Any CPU.ActiveCfg = Release|Any CPU + {409226EE-D546-43F6-84B8-B8F43DED5556}.Release|Any CPU.Build.0 = Release|Any CPU {4B69CC57-FAC3-464F-9103-5187421DB85F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {4B69CC57-FAC3-464F-9103-5187421DB85F}.Debug|Any CPU.Build.0 = Debug|Any CPU {4B69CC57-FAC3-464F-9103-5187421DB85F}.Default|Any CPU.ActiveCfg = Debug|Any CPU