aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/HelloWorld/ILView.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2020-02-18 16:52:31 +0100
committerj-p <jp_bruyere@hotmail.com>2020-05-10 00:50:02 +0200
commit81a8401cfd8942ae06afc876ddd46e632922fd53 (patch)
treeb449882e9240314d6a678385f81a8abf413ae69b /Samples/HelloWorld/ILView.cs
parent78ff96edf53ba273aa157a5bda2aa5b7a10f1c5f (diff)
basic moving and selecting with SourceText as backend buffer, basic highlighting with syntaxTree, save commit before using msbuild workspace
Diffstat (limited to 'Samples/HelloWorld/ILView.cs')
-rw-r--r--Samples/HelloWorld/ILView.cs26
1 files changed, 23 insertions, 3 deletions
diff --git a/Samples/HelloWorld/ILView.cs b/Samples/HelloWorld/ILView.cs
index 9bac2299..cb974801 100644
--- a/Samples/HelloWorld/ILView.cs
+++ b/Samples/HelloWorld/ILView.cs
@@ -1,15 +1,35 @@
-// Copyright (c) 2020 Jean-Philippe Bruyère <jp_bruyere@hotmail.com>
-//
-// This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
+/* Copyright (c) 2020 Jean-Philippe Bruyère <jp_bruyere@hotmail.com>
+ *
+ * This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
+ */
+
using System;
using Crow;
+namespace test {
+ public class TestClass {
+ int a = 0;
+ }
+}
+
namespace HelloWorld
{
public class ILView : Widget
{
+ readonly int a;
+ #region CTOR
public ILView ()
{
+ a = 10;
}
+ #endregion
+ void test ()
+ {
+#if DEBUG
+Console.WriteLine ("debug" + a.ToString());
+
+#endif
+ }
+
}
}