diff options
author | Michele Calgaro <[email protected]> | 2022-12-04 19:16:43 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2022-12-04 19:38:30 +0900 |
commit | fdcd72088371b3d8dfd31f2a5159861ce0be5535 (patch) | |
tree | 06c160cc34157344f62b6c19af297858a0e57157 /debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cs/10002-simple.cs | |
parent | a5d7db3b2c6171ea9e76b84155d2dfb66c243e5a (diff) | |
download | extra-dependencies-fdcd72088371b3d8dfd31f2a5159861ce0be5535.tar.gz extra-dependencies-fdcd72088371b3d8dfd31f2a5159861ce0be5535.zip |
uncrustify-trinity: updated based on upstream version 0.76.0
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cs/10002-simple.cs')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cs/10002-simple.cs | 131 |
1 files changed, 0 insertions, 131 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cs/10002-simple.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cs/10002-simple.cs deleted file mode 100644 index f8344b26..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cs/10002-simple.cs +++ /dev/null @@ -1,131 +0,0 @@ -class X : Y { - bool Method(int argument_1, int argument_2) - { - #region something - int foo = 0; - #endregion - - if (argument_1 == argument_2) - { - throw new Exception(Locale.GetText("They are equal!")); - } - - if (argument_1 < argument_2) - { - if (argument_1 * 3 > 4) - { - return(true); - } - else - { - return(false); - } - } - -// -// This sample helps keep your sanity while using 8-spaces for tabs -// - VeryLongIdentifierWhichTakesManyArguments( - Argument1, - Argument2, Argument3, - NestedCallHere( - MoreNested)); - } - - bool MyProperty { - get { return(x); } - - set { x = value; } - } - - void AnotherMethod() - { - Logger log = new Logger(); - - log.foo.bar = 5; - log.narf.sweat = "cat"; - - if ((a + 5) != 4) - { - } - - while (blah) - { - if (a) - { - continue; - } - b++; - } - } -} - -object lockA; -object lockB; - -void Foo() -{ - lock (lockA) { - lock (lockB) { - } - } -} - -void Bar() -{ - lock (lockB) { - lock (lockA) { - } - } -} - - -// class library -class Blah { - Hashtable ht; - void Foo(int zzz, Entry blah) - { - lock (ht) { - ht.Add(zzz, blah); - } - } - - void Bar() - { - lock (ht) { - foreach (Entry e in ht) - { - EachBar(e); - } - } - } - - virtual void EachBar(Entry e) - { - } -} - -// User -class MyBlah { - byte[] box = new byte[6]; - - box[2] = 56; - - void DoStuff() - { - lock (this) { - int i = GetNumber(); - Entry e = GetEntry(); - - Foo(i, e); - } - } - - override void EachBar(Entry e) - { - lock (this) { - DoSomething(e); - } - } -} - |