summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cs/20010-UNI-32658.cs
blob: 145da65fbab290b424b5c05e72a3bd939691fed0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
//TestCase-001
internal struct MyStruct<T>
    where T : struct, IPrepareFrameJob
{
}

//TestCase-002
class MyClass<T, U>
    where T : class
    where U : struct
{
}

//TestCase-003
interface IMyInterface
{
}

class Dictionary<TKey, TVal>
    where TKey : IComparable, IEnumerable
    where TVal : IMyInterface
{
    public void Add(TKey key, TVal val) {}
}

long DeviceCommand<TCommand>(int deviceId, ref TCommand command)
    where TCommand : struct, IInputDeviceCommandInfo;

public virtual long OnDeviceCommand<TCommand>(ref TCommand command)
    where TCommand : struct, IInputDeviceCommandInfo;

long DeviceCommand<TCommand>(int deviceId, ref TCommand command)
    where TCommand : struct, IInputDeviceCommandInfo

public virtual long OnDeviceCommand<TCommand>(ref TCommand command)
    where TCommand : struct, IInputDeviceCommandInfo