forked from zzzprojects/System.Linq.Dynamic.Core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSystem.Linq.Dynamic.Core_MethodFinder.htm
More file actions
296 lines (296 loc) · 93.8 KB
/
System.Linq.Dynamic.Core_MethodFinder.htm
File metadata and controls
296 lines (296 loc) · 93.8 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
<!DOCTYPE html>
<html data-ng-app="coverageApp">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EDGE,chrome=1" />
<title>System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodFinder - Coverage Report</title>
<link rel="stylesheet" type="text/css" href="report.css" />
</head><body data-ng-controller="DetailViewCtrl"><div class="container"><div class="containerleft">
<h1>Summary</h1>
<table class="overview table-fixed">
<colgroup>
<col class="column135" />
<col />
</colgroup>
<tbody>
<tr><th>Class:</th><td>System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodFinder</td></tr>
<tr><th>Assembly:</th><td>System.Linq.Dynamic.Core</td></tr>
<tr><th>File(s):</th><td><a href="#CUsersazureuserDocumentsGithubSystemLinqDynamicCoresrcSystemLinqDynamicCoreParserSupportedMethodsMethodFindercs" data-ng-click="navigateToHash('#CUsersazureuserDocumentsGithubSystemLinqDynamicCoresrcSystemLinqDynamicCoreParserSupportedMethodsMethodFindercs')">C:\Users\azureuser\Documents\Github\System.Linq.Dynamic.Core\src\System.Linq.Dynamic.Core\Parser\SupportedMethods\MethodFinder.cs</a></td></tr>
<tr><th>Covered lines:</th><td>142</td></tr>
<tr><th>Uncovered lines:</th><td>6</td></tr>
<tr><th>Coverable lines:</th><td>148</td></tr>
<tr><th>Total lines:</th><td>229</td></tr>
<tr><th>Line coverage:</th><td>95.9%</td></tr>
<tr><th>Branch coverage:</th><td>91%</td></tr>
</tbody>
</table>
<h1>Metrics</h1>
<table class="overview table-fixed">
<thead><tr><th>Method</th><th>Cyclomatic complexity <a href="https://en.wikipedia.org/wiki/Cyclomatic_complexity" class="info"> </a></th><th>NPath complexity <a href="https://modess.io/npath-complexity-cyclomatic-complexity-explained" class="info"> </a></th><th>Sequence coverage <a href="https://en.wikipedia.org/wiki/Code_coverage" class="info"> </a></th><th>Branch coverage <a href="https://en.wikipedia.org/wiki/Code_coverage" class="info"> </a></th></tr></thead>
<tbody>
<tr><td title="System.Boolean System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodFinder::ContainsMethod(System.Type,System.String,System.Boolean,System.Linq.Expressions.Expression[])">ContainsMethod(...)</td><td>1</td><td>0</td><td>100</td><td>100</td></tr>
<tr><td title="System.Int32 System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodFinder::FindMethod(System.Type,System.String,System.Boolean,System.Linq.Expressions.Expression[],System.Reflection.MethodBase&)">FindMethod(...)</td><td>5</td><td>2</td><td>100</td><td>100</td></tr>
<tr><td title="System.Int32 System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodFinder::FindBestMethod(System.Collections.Generic.IEnumerable`1<System.Reflection.MethodBase>,System.Linq.Expressions.Expression[],System.Reflection.MethodBase&)">FindBestMethod(...)</td><td>10</td><td>16</td><td>100</td><td>100</td></tr>
<tr><td title="System.Int32 System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodFinder::FindIndexer(System.Type,System.Linq.Expressions.Expression[],System.Reflection.MethodBase&)">FindIndexer(...)</td><td>6</td><td>4</td><td>78.95</td><td>60</td></tr>
<tr><td title="System.Boolean System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodFinder::IsApplicable(System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodData,System.Linq.Expressions.Expression[])">IsApplicable(...)</td><td>5</td><td>16</td><td>90.91</td><td>88.89</td></tr>
<tr><td title="System.Boolean System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodFinder::IsBetterThan(System.Linq.Expressions.Expression[],System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodData,System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodData)">IsBetterThan(...)</td><td>5</td><td>16</td><td>100</td><td>88.89</td></tr>
<tr><td title="System.Linq.Dynamic.Core.Parser.SupportedMethods.CompareConversionType System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodFinder::CompareConversions(System.Type,System.Type,System.Type)">CompareConversions(...)</td><td>12</td><td>512</td><td>100</td><td>100</td></tr>
<tr><td title="System.Collections.Generic.IEnumerable`1<System.Type> System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodFinder::SelfAndBaseTypes(System.Type)">SelfAndBaseTypes(...)</td><td>2</td><td>2</td><td>100</td><td>100</td></tr>
<tr><td title="System.Void System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodFinder::AddInterface(System.Collections.Generic.List`1<System.Type>,System.Type)">AddInterface(...)</td><td>3</td><td>2</td><td>100</td><td>100</td></tr>
<tr><td title="SelfAndBaseClasses()">SelfAndBaseClasses()</td><td>4</td><td>2</td><td>100</td><td>66.67</td></tr>
</tbody>
</table>
<h1>File(s)</h1>
<h2 id="CUsersazureuserDocumentsGithubSystemLinqDynamicCoresrcSystemLinqDynamicCoreParserSupportedMethodsMethodFindercs">C:\Users\azureuser\Documents\Github\System.Linq.Dynamic.Core\src\System.Linq.Dynamic.Core\Parser\SupportedMethods\MethodFinder.cs</h2>
<table class="lineAnalysis">
<thead><tr><th></th><th>#</th><th>Line</th><th></th><th>Line coverage</th></tr></thead>
<tbody>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line1"></a><code>1</code></td><td></td><td class="lightgray"><code>using System.Collections.Generic;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line2"></a><code>2</code></td><td></td><td class="lightgray"><code>using System.Linq.Expressions;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line3"></a><code>3</code></td><td></td><td class="lightgray"><code>using System.Reflection;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line4"></a><code>4</code></td><td></td><td class="lightgray"><code></code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line5"></a><code>5</code></td><td></td><td class="lightgray"><code>namespace System.Linq.Dynamic.Core.Parser.SupportedMethods</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line6"></a><code>6</code></td><td></td><td class="lightgray"><code>{</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line7"></a><code>7</code></td><td></td><td class="lightgray"><code> internal static class MethodFinder</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line8"></a><code>8</code></td><td></td><td class="lightgray"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line9"></a><code>9</code></td><td></td><td class="lightgray"><code> public static bool ContainsMethod(Type type, string methodName, bool staticAccess, Expression[] args)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '246', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">246</td><td class="rightmargin right"><a id="file0_line10"></a><code>10</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '246', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">246</td><td class="rightmargin right"><a id="file0_line11"></a><code>11</code></td><td></td><td class="lightgreen"><code> return FindMethod(type, methodName, staticAccess, args, out var _) == 1;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '246', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">246</td><td class="rightmargin right"><a id="file0_line12"></a><code>12</code></td><td></td><td class="lightgreen"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line13"></a><code>13</code></td><td></td><td class="lightgray"><code></code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line14"></a><code>14</code></td><td></td><td class="lightgray"><code> public static int FindMethod(Type type, string methodName, bool staticAccess, Expression[] args, out MethodBase </code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '264', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">264</td><td class="rightmargin right"><a id="file0_line15"></a><code>15</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line16"></a><code>16</code></td><td></td><td class="lightgray"><code>#if !(NETFX_CORE || WINDOWS_APP || DOTNET5_1 || UAP10_0 || NETSTANDARD)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line17"></a><code>17</code></td><td></td><td class="lightgray"><code> BindingFlags flags = BindingFlags.Public | BindingFlags.DeclaredOnly | (staticAccess ? BindingFlags.Static :</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line18"></a><code>18</code></td><td></td><td class="lightgray"><code> foreach (Type t in SelfAndBaseTypes(type))</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line19"></a><code>19</code></td><td></td><td class="lightgray"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line20"></a><code>20</code></td><td></td><td class="lightgray"><code> MemberInfo[] members = t.FindMembers(MemberTypes.Method, flags, Type.FilterNameIgnoreCase, methodName);</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line21"></a><code>21</code></td><td></td><td class="lightgray"><code> int count = FindBestMethod(members.Cast<MethodBase>(), args, out method);</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line22"></a><code>22</code></td><td></td><td class="lightgray"><code> if (count != 0)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line23"></a><code>23</code></td><td></td><td class="lightgray"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line24"></a><code>24</code></td><td></td><td class="lightgray"><code> return count;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line25"></a><code>25</code></td><td></td><td class="lightgray"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line26"></a><code>26</code></td><td></td><td class="lightgray"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line27"></a><code>27</code></td><td></td><td class="lightgray"><code>#else</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '1287', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">1287</td><td class="rightmargin right"><a id="file0_line28"></a><code>28</code></td><td></td><td class="lightgreen"><code> foreach (Type t in SelfAndBaseTypes(type))</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '377', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">377</td><td class="rightmargin right"><a id="file0_line29"></a><code>29</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr title="2 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '9830', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">9830</td><td class="rightmargin right"><a id="file0_line30"></a><code>30</code></td><td class="branch100"> </td><td class="lightgreen"><code> MethodInfo[] methods = t.GetTypeInfo().DeclaredMethods.Where(x => (x.IsStatic || !staticAccess) && x.Nam</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '377', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">377</td><td class="rightmargin right"><a id="file0_line31"></a><code>31</code></td><td></td><td class="lightgreen"><code> int count = FindBestMethod(methods, args, out method);</code></td></tr>
<tr title="2 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '377', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">377</td><td class="rightmargin right"><a id="file0_line32"></a><code>32</code></td><td class="branch100"> </td><td class="lightgreen"><code> if (count != 0)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '259', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">259</td><td class="rightmargin right"><a id="file0_line33"></a><code>33</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '259', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">259</td><td class="rightmargin right"><a id="file0_line34"></a><code>34</code></td><td></td><td class="lightgreen"><code> return count;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line35"></a><code>35</code></td><td></td><td class="lightgray"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '118', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">118</td><td class="rightmargin right"><a id="file0_line36"></a><code>36</code></td><td></td><td class="lightgreen"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line37"></a><code>37</code></td><td></td><td class="lightgray"><code>#endif</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '5', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">5</td><td class="rightmargin right"><a id="file0_line38"></a><code>38</code></td><td></td><td class="lightgreen"><code> method = null;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '5', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">5</td><td class="rightmargin right"><a id="file0_line39"></a><code>39</code></td><td></td><td class="lightgreen"><code> return 0;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '264', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">264</td><td class="rightmargin right"><a id="file0_line40"></a><code>40</code></td><td></td><td class="lightgreen"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line41"></a><code>41</code></td><td></td><td class="lightgray"><code></code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line42"></a><code>42</code></td><td></td><td class="lightgray"><code> public static int FindBestMethod(IEnumerable<MethodBase> methods, Expression[] args, out MethodBase method)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '385', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">385</td><td class="rightmargin right"><a id="file0_line43"></a><code>43</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '385', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">385</td><td class="rightmargin right"><a id="file0_line44"></a><code>44</code></td><td></td><td class="lightgreen"><code> MethodData[] applicable = methods.</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '3291', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">3291</td><td class="rightmargin right"><a id="file0_line45"></a><code>45</code></td><td></td><td class="lightgreen"><code> Select(m => new MethodData { MethodBase = m, Parameters = m.GetParameters() }).</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '3291', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">3291</td><td class="rightmargin right"><a id="file0_line46"></a><code>46</code></td><td></td><td class="lightgreen"><code> Where(m => IsApplicable(m, args)).</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '385', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">385</td><td class="rightmargin right"><a id="file0_line47"></a><code>47</code></td><td></td><td class="lightgreen"><code> ToArray();</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line48"></a><code>48</code></td><td></td><td class="lightgray"><code></code></td></tr>
<tr title="2 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '385', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">385</td><td class="rightmargin right"><a id="file0_line49"></a><code>49</code></td><td class="branch100"> </td><td class="lightgreen"><code> if (applicable.Length > 1)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '145', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">145</td><td class="rightmargin right"><a id="file0_line50"></a><code>50</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '3647', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">3647</td><td class="rightmargin right"><a id="file0_line51"></a><code>51</code></td><td></td><td class="lightgreen"><code> applicable = applicable.Where(m => applicable.All(n => m == n || IsBetterThan(args, m, n))).ToArray();</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '145', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">145</td><td class="rightmargin right"><a id="file0_line52"></a><code>52</code></td><td></td><td class="lightgreen"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line53"></a><code>53</code></td><td></td><td class="lightgray"><code></code></td></tr>
<tr title="2 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '385', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">385</td><td class="rightmargin right"><a id="file0_line54"></a><code>54</code></td><td class="branch100"> </td><td class="lightgreen"><code> if (args.Length == 2 && applicable.Length > 1 && (args[0].Type == typeof(Guid?) || args[1].Type == typeof(Gu</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '4', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">4</td><td class="rightmargin right"><a id="file0_line55"></a><code>55</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '4', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">4</td><td class="rightmargin right"><a id="file0_line56"></a><code>56</code></td><td></td><td class="lightgreen"><code> applicable = applicable.Take(1).ToArray();</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '4', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">4</td><td class="rightmargin right"><a id="file0_line57"></a><code>57</code></td><td></td><td class="lightgreen"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line58"></a><code>58</code></td><td></td><td class="lightgray"><code></code></td></tr>
<tr title="2 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '385', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">385</td><td class="rightmargin right"><a id="file0_line59"></a><code>59</code></td><td class="branch100"> </td><td class="lightgreen"><code> if (applicable.Length == 1)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '261', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">261</td><td class="rightmargin right"><a id="file0_line60"></a><code>60</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '261', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">261</td><td class="rightmargin right"><a id="file0_line61"></a><code>61</code></td><td></td><td class="lightgreen"><code> MethodData md = applicable[0];</code></td></tr>
<tr title="2 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '1274', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">1274</td><td class="rightmargin right"><a id="file0_line62"></a><code>62</code></td><td class="branch100"> </td><td class="lightgreen"><code> for (int i = 0; i < args.Length; i++)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '376', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">376</td><td class="rightmargin right"><a id="file0_line63"></a><code>63</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '376', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">376</td><td class="rightmargin right"><a id="file0_line64"></a><code>64</code></td><td></td><td class="lightgreen"><code> args[i] = md.Args[i];</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '376', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">376</td><td class="rightmargin right"><a id="file0_line65"></a><code>65</code></td><td></td><td class="lightgreen"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '261', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">261</td><td class="rightmargin right"><a id="file0_line66"></a><code>66</code></td><td></td><td class="lightgreen"><code> method = md.MethodBase;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '261', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">261</td><td class="rightmargin right"><a id="file0_line67"></a><code>67</code></td><td></td><td class="lightgreen"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line68"></a><code>68</code></td><td></td><td class="lightgray"><code> else</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '124', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">124</td><td class="rightmargin right"><a id="file0_line69"></a><code>69</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '124', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">124</td><td class="rightmargin right"><a id="file0_line70"></a><code>70</code></td><td></td><td class="lightgreen"><code> method = null;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '124', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">124</td><td class="rightmargin right"><a id="file0_line71"></a><code>71</code></td><td></td><td class="lightgreen"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line72"></a><code>72</code></td><td></td><td class="lightgray"><code></code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '385', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">385</td><td class="rightmargin right"><a id="file0_line73"></a><code>73</code></td><td></td><td class="lightgreen"><code> return applicable.Length;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '385', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">385</td><td class="rightmargin right"><a id="file0_line74"></a><code>74</code></td><td></td><td class="lightgreen"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line75"></a><code>75</code></td><td></td><td class="lightgray"><code></code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line76"></a><code>76</code></td><td></td><td class="lightgray"><code> public static int FindIndexer(Type type, Expression[] args, out MethodBase method)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '1', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">1</td><td class="rightmargin right"><a id="file0_line77"></a><code>77</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '4', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">4</td><td class="rightmargin right"><a id="file0_line78"></a><code>78</code></td><td></td><td class="lightgreen"><code> foreach (Type t in SelfAndBaseTypes(type))</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '1', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">1</td><td class="rightmargin right"><a id="file0_line79"></a><code>79</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '1', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">1</td><td class="rightmargin right"><a id="file0_line80"></a><code>80</code></td><td></td><td class="lightgreen"><code> MemberInfo[] members = t.GetDefaultMembers();</code></td></tr>
<tr title="1 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '1', 'LVS': 'orange'}}"><td class="orange"> </td><td class="leftmargin rightmargin right">1</td><td class="rightmargin right"><a id="file0_line81"></a><code>81</code></td><td class="branch50"> </td><td class="lightorange"><code> if (members.Length != 0)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '1', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">1</td><td class="rightmargin right"><a id="file0_line82"></a><code>82</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '1', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">1</td><td class="rightmargin right"><a id="file0_line83"></a><code>83</code></td><td></td><td class="lightgreen"><code> IEnumerable<MethodBase> methods = members.OfType<PropertyInfo>().</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '1', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">1</td><td class="rightmargin right"><a id="file0_line84"></a><code>84</code></td><td></td><td class="lightgreen"><code>#if !(NETFX_CORE || WINDOWS_APP || DOTNET5_1 || UAP10_0 || NETSTANDARD)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '1', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">1</td><td class="rightmargin right"><a id="file0_line85"></a><code>85</code></td><td></td><td class="lightgreen"><code> Select(p => (MethodBase)p.GetGetMethod()).</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '1', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">1</td><td class="rightmargin right"><a id="file0_line86"></a><code>86</code></td><td></td><td class="lightgreen"><code> Where(m => m != null);</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '1', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">1</td><td class="rightmargin right"><a id="file0_line87"></a><code>87</code></td><td></td><td class="lightgreen"><code>#else</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '3', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">3</td><td class="rightmargin right"><a id="file0_line88"></a><code>88</code></td><td></td><td class="lightgreen"><code> Select(p => (MethodBase)p.GetMethod);</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line89"></a><code>89</code></td><td></td><td class="lightgray"><code>#endif</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '1', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">1</td><td class="rightmargin right"><a id="file0_line90"></a><code>90</code></td><td></td><td class="lightgreen"><code> int count = FindBestMethod(methods, args, out method);</code></td></tr>
<tr title="1 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '1', 'LVS': 'orange'}}"><td class="orange"> </td><td class="leftmargin rightmargin right">1</td><td class="rightmargin right"><a id="file0_line91"></a><code>91</code></td><td class="branch50"> </td><td class="lightorange"><code> if (count != 0)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '1', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">1</td><td class="rightmargin right"><a id="file0_line92"></a><code>92</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '1', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">1</td><td class="rightmargin right"><a id="file0_line93"></a><code>93</code></td><td></td><td class="lightgreen"><code> return count;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line94"></a><code>94</code></td><td></td><td class="lightgray"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '0', 'LVS': 'red'}}"><td class="red"> </td><td class="leftmargin rightmargin right">0</td><td class="rightmargin right"><a id="file0_line95"></a><code>95</code></td><td></td><td class="lightred"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '0', 'LVS': 'red'}}"><td class="red"> </td><td class="leftmargin rightmargin right">0</td><td class="rightmargin right"><a id="file0_line96"></a><code>96</code></td><td></td><td class="lightred"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line97"></a><code>97</code></td><td></td><td class="lightgray"><code></code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '0', 'LVS': 'red'}}"><td class="red"> </td><td class="leftmargin rightmargin right">0</td><td class="rightmargin right"><a id="file0_line98"></a><code>98</code></td><td></td><td class="lightred"><code> method = null;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '0', 'LVS': 'red'}}"><td class="red"> </td><td class="leftmargin rightmargin right">0</td><td class="rightmargin right"><a id="file0_line99"></a><code>99</code></td><td></td><td class="lightred"><code> return 0;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '1', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">1</td><td class="rightmargin right"><a id="file0_line100"></a><code>100</code></td><td></td><td class="lightgreen"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line101"></a><code>101</code></td><td></td><td class="lightgray"><code></code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line102"></a><code>102</code></td><td></td><td class="lightgray"><code> static bool IsApplicable(MethodData method, Expression[] args)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '2906', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">2906</td><td class="rightmargin right"><a id="file0_line103"></a><code>103</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr title="2 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '2906', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">2906</td><td class="rightmargin right"><a id="file0_line104"></a><code>104</code></td><td class="branch100"> </td><td class="lightgreen"><code> if (method.Parameters.Length != args.Length)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '45', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">45</td><td class="rightmargin right"><a id="file0_line105"></a><code>105</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '45', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">45</td><td class="rightmargin right"><a id="file0_line106"></a><code>106</code></td><td></td><td class="lightgreen"><code> return false;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line107"></a><code>107</code></td><td></td><td class="lightgray"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line108"></a><code>108</code></td><td></td><td class="lightgray"><code></code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '2861', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">2861</td><td class="rightmargin right"><a id="file0_line109"></a><code>109</code></td><td></td><td class="lightgreen"><code> Expression[] promotedArgs = new Expression[args.Length];</code></td></tr>
<tr title="2 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '10180', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">10180</td><td class="rightmargin right"><a id="file0_line110"></a><code>110</code></td><td class="branch100"> </td><td class="lightgreen"><code> for (int i = 0; i < args.Length; i++)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '3904', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">3904</td><td class="rightmargin right"><a id="file0_line111"></a><code>111</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '3904', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">3904</td><td class="rightmargin right"><a id="file0_line112"></a><code>112</code></td><td></td><td class="lightgreen"><code> ParameterInfo pi = method.Parameters[i];</code></td></tr>
<tr title="1 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '3904', 'LVS': 'orange'}}"><td class="orange"> </td><td class="leftmargin rightmargin right">3904</td><td class="rightmargin right"><a id="file0_line113"></a><code>113</code></td><td class="branch50"> </td><td class="lightorange"><code> if (pi.IsOut)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '0', 'LVS': 'red'}}"><td class="red"> </td><td class="leftmargin rightmargin right">0</td><td class="rightmargin right"><a id="file0_line114"></a><code>114</code></td><td></td><td class="lightred"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '0', 'LVS': 'red'}}"><td class="red"> </td><td class="leftmargin rightmargin right">0</td><td class="rightmargin right"><a id="file0_line115"></a><code>115</code></td><td></td><td class="lightred"><code> return false;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line116"></a><code>116</code></td><td></td><td class="lightgray"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line117"></a><code>117</code></td><td></td><td class="lightgray"><code></code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '3904', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">3904</td><td class="rightmargin right"><a id="file0_line118"></a><code>118</code></td><td></td><td class="lightgreen"><code> Expression promoted = ExpressionPromoter.Promote(args[i], pi.ParameterType, false, method.MethodBase.Dec</code></td></tr>
<tr title="2 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '3904', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">3904</td><td class="rightmargin right"><a id="file0_line119"></a><code>119</code></td><td class="branch100"> </td><td class="lightgreen"><code> if (promoted == null)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '1675', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">1675</td><td class="rightmargin right"><a id="file0_line120"></a><code>120</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '1675', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">1675</td><td class="rightmargin right"><a id="file0_line121"></a><code>121</code></td><td></td><td class="lightgreen"><code> return false;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line122"></a><code>122</code></td><td></td><td class="lightgray"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '2229', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">2229</td><td class="rightmargin right"><a id="file0_line123"></a><code>123</code></td><td></td><td class="lightgreen"><code> promotedArgs[i] = promoted;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '2229', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">2229</td><td class="rightmargin right"><a id="file0_line124"></a><code>124</code></td><td></td><td class="lightgreen"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '1186', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">1186</td><td class="rightmargin right"><a id="file0_line125"></a><code>125</code></td><td></td><td class="lightgreen"><code> method.Args = promotedArgs;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '1186', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">1186</td><td class="rightmargin right"><a id="file0_line126"></a><code>126</code></td><td></td><td class="lightgreen"><code> return true;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '2906', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">2906</td><td class="rightmargin right"><a id="file0_line127"></a><code>127</code></td><td></td><td class="lightgreen"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line128"></a><code>128</code></td><td></td><td class="lightgray"><code></code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line129"></a><code>129</code></td><td></td><td class="lightgray"><code> static bool IsBetterThan(Expression[] args, MethodData first, MethodData second)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '2219', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">2219</td><td class="rightmargin right"><a id="file0_line130"></a><code>130</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '2219', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">2219</td><td class="rightmargin right"><a id="file0_line131"></a><code>131</code></td><td></td><td class="lightgreen"><code> bool better = false;</code></td></tr>
<tr title="2 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '5012', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">5012</td><td class="rightmargin right"><a id="file0_line132"></a><code>132</code></td><td class="branch100"> </td><td class="lightgreen"><code> for (int i = 0; i < args.Length; i++)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '2291', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">2291</td><td class="rightmargin right"><a id="file0_line133"></a><code>133</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '2291', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">2291</td><td class="rightmargin right"><a id="file0_line134"></a><code>134</code></td><td></td><td class="lightgreen"><code> CompareConversionType result = CompareConversions(args[i].Type, first.Parameters[i].ParameterType, secon</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line135"></a><code>135</code></td><td></td><td class="lightgray"><code></code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line136"></a><code>136</code></td><td></td><td class="lightgray"><code> // If second is better, return false</code></td></tr>
<tr title="2 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '2291', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">2291</td><td class="rightmargin right"><a id="file0_line137"></a><code>137</code></td><td class="branch100"> </td><td class="lightgreen"><code> if (result == CompareConversionType.Second)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '921', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">921</td><td class="rightmargin right"><a id="file0_line138"></a><code>138</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '921', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">921</td><td class="rightmargin right"><a id="file0_line139"></a><code>139</code></td><td></td><td class="lightgreen"><code> return false;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line140"></a><code>140</code></td><td></td><td class="lightgray"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line141"></a><code>141</code></td><td></td><td class="lightgray"><code></code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line142"></a><code>142</code></td><td></td><td class="lightgray"><code> // If first is better, return true</code></td></tr>
<tr title="2 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '1370', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">1370</td><td class="rightmargin right"><a id="file0_line143"></a><code>143</code></td><td class="branch100"> </td><td class="lightgreen"><code> if (result == CompareConversionType.First)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '1083', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">1083</td><td class="rightmargin right"><a id="file0_line144"></a><code>144</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '1083', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">1083</td><td class="rightmargin right"><a id="file0_line145"></a><code>145</code></td><td></td><td class="lightgreen"><code> return true;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line146"></a><code>146</code></td><td></td><td class="lightgray"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line147"></a><code>147</code></td><td></td><td class="lightgray"><code></code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line148"></a><code>148</code></td><td></td><td class="lightgray"><code> // If both are same, just set better to true and continue</code></td></tr>
<tr title="1 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '287', 'LVS': 'orange'}}"><td class="orange"> </td><td class="leftmargin rightmargin right">287</td><td class="rightmargin right"><a id="file0_line149"></a><code>149</code></td><td class="branch50"> </td><td class="lightorange"><code> if (result == CompareConversionType.Both)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '287', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">287</td><td class="rightmargin right"><a id="file0_line150"></a><code>150</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '287', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">287</td><td class="rightmargin right"><a id="file0_line151"></a><code>151</code></td><td></td><td class="lightgreen"><code> better = true;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '287', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">287</td><td class="rightmargin right"><a id="file0_line152"></a><code>152</code></td><td></td><td class="lightgreen"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '287', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">287</td><td class="rightmargin right"><a id="file0_line153"></a><code>153</code></td><td></td><td class="lightgreen"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line154"></a><code>154</code></td><td></td><td class="lightgray"><code></code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '215', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">215</td><td class="rightmargin right"><a id="file0_line155"></a><code>155</code></td><td></td><td class="lightgreen"><code> return better;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '2219', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">2219</td><td class="rightmargin right"><a id="file0_line156"></a><code>156</code></td><td></td><td class="lightgreen"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line157"></a><code>157</code></td><td></td><td class="lightgray"><code></code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line158"></a><code>158</code></td><td></td><td class="lightgray"><code> // Return "First" if s -> t1 is a better conversion than s -> t2</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line159"></a><code>159</code></td><td></td><td class="lightgray"><code> // Return "Second" if s -> t2 is a better conversion than s -> t1</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line160"></a><code>160</code></td><td></td><td class="lightgray"><code> // Return "Both" if neither conversion is better</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line161"></a><code>161</code></td><td></td><td class="lightgray"><code> static CompareConversionType CompareConversions(Type source, Type first, Type second)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '2291', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">2291</td><td class="rightmargin right"><a id="file0_line162"></a><code>162</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr title="2 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '2291', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">2291</td><td class="rightmargin right"><a id="file0_line163"></a><code>163</code></td><td class="branch100"> </td><td class="lightgreen"><code> if (first == second)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '72', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">72</td><td class="rightmargin right"><a id="file0_line164"></a><code>164</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '72', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">72</td><td class="rightmargin right"><a id="file0_line165"></a><code>165</code></td><td></td><td class="lightgreen"><code> return CompareConversionType.Both;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line166"></a><code>166</code></td><td></td><td class="lightgray"><code> }</code></td></tr>
<tr title="2 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '2219', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">2219</td><td class="rightmargin right"><a id="file0_line167"></a><code>167</code></td><td class="branch100"> </td><td class="lightgreen"><code> if (source == first)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '646', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">646</td><td class="rightmargin right"><a id="file0_line168"></a><code>168</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '646', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">646</td><td class="rightmargin right"><a id="file0_line169"></a><code>169</code></td><td></td><td class="lightgreen"><code> return CompareConversionType.First;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line170"></a><code>170</code></td><td></td><td class="lightgray"><code> }</code></td></tr>
<tr title="2 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '1573', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">1573</td><td class="rightmargin right"><a id="file0_line171"></a><code>171</code></td><td class="branch100"> </td><td class="lightgreen"><code> if (source == second)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '601', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">601</td><td class="rightmargin right"><a id="file0_line172"></a><code>172</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '601', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">601</td><td class="rightmargin right"><a id="file0_line173"></a><code>173</code></td><td></td><td class="lightgreen"><code> return CompareConversionType.Second;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line174"></a><code>174</code></td><td></td><td class="lightgray"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line175"></a><code>175</code></td><td></td><td class="lightgray"><code></code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '972', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">972</td><td class="rightmargin right"><a id="file0_line176"></a><code>176</code></td><td></td><td class="lightgreen"><code> bool firstIsCompatibleWithSecond = TypeHelper.IsCompatibleWith(first, second);</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '972', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">972</td><td class="rightmargin right"><a id="file0_line177"></a><code>177</code></td><td></td><td class="lightgreen"><code> bool secondIsCompatibleWithFirst = TypeHelper.IsCompatibleWith(second, first);</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line178"></a><code>178</code></td><td></td><td class="lightgray"><code></code></td></tr>
<tr title="2 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '972', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">972</td><td class="rightmargin right"><a id="file0_line179"></a><code>179</code></td><td class="branch100"> </td><td class="lightgreen"><code> if (firstIsCompatibleWithSecond && !secondIsCompatibleWithFirst)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '357', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">357</td><td class="rightmargin right"><a id="file0_line180"></a><code>180</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '357', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">357</td><td class="rightmargin right"><a id="file0_line181"></a><code>181</code></td><td></td><td class="lightgreen"><code> return CompareConversionType.First;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line182"></a><code>182</code></td><td></td><td class="lightgray"><code> }</code></td></tr>
<tr title="2 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '615', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">615</td><td class="rightmargin right"><a id="file0_line183"></a><code>183</code></td><td class="branch100"> </td><td class="lightgreen"><code> if (secondIsCompatibleWithFirst && !firstIsCompatibleWithSecond)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '240', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">240</td><td class="rightmargin right"><a id="file0_line184"></a><code>184</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '240', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">240</td><td class="rightmargin right"><a id="file0_line185"></a><code>185</code></td><td></td><td class="lightgreen"><code> return CompareConversionType.Second;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line186"></a><code>186</code></td><td></td><td class="lightgray"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line187"></a><code>187</code></td><td></td><td class="lightgray"><code></code></td></tr>
<tr title="4 of 4 branches are covered" data-coverage="{'AllTestMethods': {'VC': '375', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">375</td><td class="rightmargin right"><a id="file0_line188"></a><code>188</code></td><td class="branch100"> </td><td class="lightgreen"><code> if (TypeHelper.IsSignedIntegralType(first) && TypeHelper.IsUnsignedIntegralType(second))</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '80', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">80</td><td class="rightmargin right"><a id="file0_line189"></a><code>189</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '80', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">80</td><td class="rightmargin right"><a id="file0_line190"></a><code>190</code></td><td></td><td class="lightgreen"><code> return CompareConversionType.First;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line191"></a><code>191</code></td><td></td><td class="lightgray"><code> }</code></td></tr>
<tr title="4 of 4 branches are covered" data-coverage="{'AllTestMethods': {'VC': '295', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">295</td><td class="rightmargin right"><a id="file0_line192"></a><code>192</code></td><td class="branch100"> </td><td class="lightgreen"><code> if (TypeHelper.IsSignedIntegralType(second) && TypeHelper.IsUnsignedIntegralType(first))</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '80', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">80</td><td class="rightmargin right"><a id="file0_line193"></a><code>193</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '80', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">80</td><td class="rightmargin right"><a id="file0_line194"></a><code>194</code></td><td></td><td class="lightgreen"><code> return CompareConversionType.Second;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line195"></a><code>195</code></td><td></td><td class="lightgray"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line196"></a><code>196</code></td><td></td><td class="lightgray"><code></code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '215', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">215</td><td class="rightmargin right"><a id="file0_line197"></a><code>197</code></td><td></td><td class="lightgreen"><code> return CompareConversionType.Both;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '2291', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">2291</td><td class="rightmargin right"><a id="file0_line198"></a><code>198</code></td><td></td><td class="lightgreen"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line199"></a><code>199</code></td><td></td><td class="lightgray"><code></code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line200"></a><code>200</code></td><td></td><td class="lightgray"><code> static IEnumerable<Type> SelfAndBaseTypes(Type type)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '265', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">265</td><td class="rightmargin right"><a id="file0_line201"></a><code>201</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr title="2 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '265', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">265</td><td class="rightmargin right"><a id="file0_line202"></a><code>202</code></td><td class="branch100"> </td><td class="lightgreen"><code> if (type.GetTypeInfo().IsInterface)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '249', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">249</td><td class="rightmargin right"><a id="file0_line203"></a><code>203</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '249', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">249</td><td class="rightmargin right"><a id="file0_line204"></a><code>204</code></td><td></td><td class="lightgreen"><code> var types = new List<Type>();</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '249', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">249</td><td class="rightmargin right"><a id="file0_line205"></a><code>205</code></td><td></td><td class="lightgreen"><code> AddInterface(types, type);</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '249', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">249</td><td class="rightmargin right"><a id="file0_line206"></a><code>206</code></td><td></td><td class="lightgreen"><code> return types;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line207"></a><code>207</code></td><td></td><td class="lightgray"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '16', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">16</td><td class="rightmargin right"><a id="file0_line208"></a><code>208</code></td><td></td><td class="lightgreen"><code> return SelfAndBaseClasses(type);</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '265', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">265</td><td class="rightmargin right"><a id="file0_line209"></a><code>209</code></td><td></td><td class="lightgreen"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line210"></a><code>210</code></td><td></td><td class="lightgray"><code></code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line211"></a><code>211</code></td><td></td><td class="lightgray"><code> static IEnumerable<Type> SelfAndBaseClasses(Type type)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '16', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">16</td><td class="rightmargin right"><a id="file0_line212"></a><code>212</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr title="1 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '17', 'LVS': 'orange'}}"><td class="orange"> </td><td class="leftmargin rightmargin right">17</td><td class="rightmargin right"><a id="file0_line213"></a><code>213</code></td><td class="branch50"> </td><td class="lightorange"><code> while (type != null)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '17', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">17</td><td class="rightmargin right"><a id="file0_line214"></a><code>214</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '17', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">17</td><td class="rightmargin right"><a id="file0_line215"></a><code>215</code></td><td></td><td class="lightgreen"><code> yield return type;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '1', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">1</td><td class="rightmargin right"><a id="file0_line216"></a><code>216</code></td><td></td><td class="lightgreen"><code> type = type.GetTypeInfo().BaseType;</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '1', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">1</td><td class="rightmargin right"><a id="file0_line217"></a><code>217</code></td><td></td><td class="lightgreen"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line218"></a><code>218</code></td><td></td><td class="lightgray"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line219"></a><code>219</code></td><td></td><td class="lightgray"><code></code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line220"></a><code>220</code></td><td></td><td class="lightgray"><code> static void AddInterface(List<Type> types, Type type)</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '439', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">439</td><td class="rightmargin right"><a id="file0_line221"></a><code>221</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr title="2 of 2 branches are covered" data-coverage="{'AllTestMethods': {'VC': '439', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">439</td><td class="rightmargin right"><a id="file0_line222"></a><code>222</code></td><td class="branch100"> </td><td class="lightgreen"><code> if (!types.Contains(type))</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '381', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">381</td><td class="rightmargin right"><a id="file0_line223"></a><code>223</code></td><td></td><td class="lightgreen"><code> {</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '381', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">381</td><td class="rightmargin right"><a id="file0_line224"></a><code>224</code></td><td></td><td class="lightgreen"><code> types.Add(type);</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '1713', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">1713</td><td class="rightmargin right"><a id="file0_line225"></a><code>225</code></td><td></td><td class="lightgreen"><code> foreach (Type t in type.GetInterfaces()) AddInterface(types, t);</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '381', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">381</td><td class="rightmargin right"><a id="file0_line226"></a><code>226</code></td><td></td><td class="lightgreen"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '439', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">439</td><td class="rightmargin right"><a id="file0_line227"></a><code>227</code></td><td></td><td class="lightgreen"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line228"></a><code>228</code></td><td></td><td class="lightgray"><code> }</code></td></tr>
<tr data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line229"></a><code>229</code></td><td></td><td class="lightgray"><code>}</code></td></tr>
</tbody>
</table>
<div class="footer">Generated by: ReportGenerator 2.5.6.0<br />2018-07-27 - 14:51:26<br /><a href="https://github.com/danielpalme/ReportGenerator">GitHub</a> | <a href="http://www.palmmedia.de">www.palmmedia.de</a></div></div>
<div class="containerright">
<div class="containerrightfixed">
<h1>Methods/Properties</h1>
<a class="method" href="#file0_line10" data-ng-click="navigateToHash('#file0_line10')" title="ContainsMethod(System.Type,System.String,System.Boolean,System.Linq.Expressions.Expression[])">ContainsMethod(System.Type,System.String,System.Boolean,System.Linq.Expressions.Expression[])</a><br />
<a class="method" href="#file0_line15" data-ng-click="navigateToHash('#file0_line15')" title="FindMethod(System.Type,System.String,System.Boolean,System.Linq.Expressions.Expression[],System.Reflection.MethodBase&)">FindMethod(System.Type,System.String,System.Boolean,System.Linq.Expressions.Expression[],System.Reflection.MethodBase&)</a><br />
<a class="method" href="#file0_line43" data-ng-click="navigateToHash('#file0_line43')" title="FindBestMethod(System.Collections.Generic.IEnumerable`1<System.Reflection.MethodBase>,System.Linq.Expressions.Expression[],System.Reflection.MethodBase&)">FindBestMethod(System.Collections.Generic.IEnumerable`1<System.Reflection.MethodBase>,System.Linq.Expressions.Expression[],System.Reflection.MethodBase&)</a><br />
<a class="method" href="#file0_line77" data-ng-click="navigateToHash('#file0_line77')" title="FindIndexer(System.Type,System.Linq.Expressions.Expression[],System.Reflection.MethodBase&)">FindIndexer(System.Type,System.Linq.Expressions.Expression[],System.Reflection.MethodBase&)</a><br />
<a class="method" href="#file0_line103" data-ng-click="navigateToHash('#file0_line103')" title="IsApplicable(System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodData,System.Linq.Expressions.Expression[])">IsApplicable(System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodData,System.Linq.Expressions.Expression[])</a><br />
<a class="method" href="#file0_line130" data-ng-click="navigateToHash('#file0_line130')" title="IsBetterThan(System.Linq.Expressions.Expression[],System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodData,System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodData)">IsBetterThan(System.Linq.Expressions.Expression[],System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodData,System.Linq.Dynamic.Core.Parser.SupportedMethods.MethodData)</a><br />
<a class="method" href="#file0_line162" data-ng-click="navigateToHash('#file0_line162')" title="CompareConversions(System.Type,System.Type,System.Type)">CompareConversions(System.Type,System.Type,System.Type)</a><br />
<a class="method" href="#file0_line201" data-ng-click="navigateToHash('#file0_line201')" title="SelfAndBaseTypes(System.Type)">SelfAndBaseTypes(System.Type)</a><br />
<a class="method" href="#file0_line212" data-ng-click="navigateToHash('#file0_line212')" title="SelfAndBaseClasses()">SelfAndBaseClasses()</a><br />
<a class="method" href="#file0_line221" data-ng-click="navigateToHash('#file0_line221')" title="AddInterface(System.Collections.Generic.List`1<System.Type>,System.Type)">AddInterface(System.Collections.Generic.List`1<System.Type>,System.Type)</a><br />
<br/></div>
</div></div>
<script type="text/javascript" src="combined.js"></script>
</body></html>