-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy pathSteps.cs
More file actions
96 lines (65 loc) · 2.24 KB
/
Steps.cs
File metadata and controls
96 lines (65 loc) · 2.24 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
namespace My.Qltest
{
public class C
{
void Foo()
{
object arg1 = new object();
StepArgRes(arg1);
object argIn1 = new object();
object argOut1 = new object();
StepArgArg(argIn1, argOut1);
object argIn2 = new object();
object argOut2 = new object();
StepArgArg(argIn2, argOut2);
object arg2 = new object();
StepArgQual(arg2);
object arg3 = new object();
this.StepArgQual(arg3);
this.StepQualRes();
StepQualRes();
object argOut = new object();
StepQualArg(argOut);
this.StepFieldGetter();
this.StepFieldSetter(0);
this.StepPropertyGetter();
this.StepPropertySetter(0);
this.StepElementGetter();
this.StepElementSetter(0);
var gen = new Generic<int, int>();
gen.StepGeneric(0);
gen.StepGeneric2(false);
new Sub().StepOverride("string");
object arg4 = new object();
Library.StepArgReturnGenerated(arg4);
object arg5 = new object();
Library.StepArgReturnGeneratedIgnored(arg5);
}
object StepArgRes(object x) { return null; }
void StepArgArg(object @in, object @out) { }
void StepArgQual(object x) { }
object StepQualRes() { return null; }
void StepQualArg(object @out) { }
int Field;
int StepFieldGetter() => throw null;
void StepFieldSetter(int value) => throw null;
int Property { get; set; }
int StepPropertyGetter() => throw null;
void StepPropertySetter(int value) => throw null;
int StepElementGetter() => throw null;
void StepElementSetter(int value) => throw null;
class Generic<T, U>
{
public T StepGeneric(T t) => throw null;
public T StepGeneric2<S>(S s) => throw null;
}
class Base<T>
{
public virtual T StepOverride(T t) => throw null;
}
class Sub : Base<string>
{
public override string StepOverride(string i) => throw null;
}
}
}