diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cs/625_where-constraints.cs')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cs/625_where-constraints.cs | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cs/625_where-constraints.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cs/625_where-constraints.cs new file mode 100644 index 00000000..09274ab9 --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cs/625_where-constraints.cs @@ -0,0 +1,36 @@ +interface D { } interface E { }
+
+class C<T1, T2, TX, T3, T4, T5>
+: IDisposable, IEnumerable<T1>
+ where T1 : class,D ,E ,new()
+ where T2 : IDictionary<D, Dictionary< string, float > >
+where TX : struct, IDisposable
+where T3: class
+ where T4: D where T5:E
+{
+ void F<T3, T4, T5, TX, T6>() where T3 : D, new()
+ where T4 : D
+ where T5: D
+ where TX : new()
+ where T6: D
+ {
+ }
+
+ class C2<T1, T2, TX, T3, T4, T5>
+: IDisposable, IEnumerable<T1>
+ where T1 : class,D ,E,new()
+ where T2 : IDictionary<D, Dictionary< string, float > >
+where TX : struct, IDisposable
+ where T3: class
+ where T4: D where T5:E
+ {
+ void F2<T3, T4, T5, TX, T6>()
+ where T3 : D, new()
+ where T4 : D
+ where T5: D
+ where TX : new()
+ where T6: D
+ {
+ }
+ }
+}
|