@@ -25,7 +25,7 @@ public void VerifyTrimWhitespaceForward()
25
25
{
26
26
MockOperation o = new MockOperation (
27
27
null ,
28
- ( IProcessorState state , int length , ref int position , int token ) =>
28
+ ( state , length , ref position , token ) =>
29
29
{
30
30
state . TrimWhitespace ( true , false , ref length , ref position ) ;
31
31
return 0 ;
@@ -50,7 +50,7 @@ public void VerifyTrimWhitespaceBackward()
50
50
{
51
51
MockOperation o = new MockOperation (
52
52
null ,
53
- ( IProcessorState state , int length , ref int position , int token ) =>
53
+ ( state , length , ref position , token ) =>
54
54
{
55
55
state . TrimWhitespace ( false , true , ref length , ref position ) ;
56
56
return 0 ;
@@ -75,7 +75,7 @@ public void VerifyTrimWhitespaceBothDirections()
75
75
{
76
76
MockOperation o = new MockOperation (
77
77
null ,
78
- ( IProcessorState state , int length , ref int position , int token ) =>
78
+ ( state , length , ref position , token ) =>
79
79
{
80
80
state . TrimWhitespace ( true , true , ref length , ref position ) ;
81
81
return 0 ;
@@ -100,7 +100,7 @@ public void VerifyTrimWhitespaceNeitherDirection()
100
100
{
101
101
MockOperation o = new MockOperation (
102
102
null ,
103
- ( IProcessorState state , int length , ref int position , int token ) =>
103
+ ( state , length , ref position , token ) =>
104
104
{
105
105
state . TrimWhitespace ( false , false , ref length , ref position ) ;
106
106
return 0 ;
@@ -125,7 +125,7 @@ public void VerifyConsumeWholeLine()
125
125
{
126
126
MockOperation o = new MockOperation (
127
127
null ,
128
- ( IProcessorState state , int length , ref int position , int token ) =>
128
+ ( state , length , ref position , token ) =>
129
129
{
130
130
state . ConsumeWholeLine ( ref length , ref position ) ;
131
131
return 0 ;
@@ -158,7 +158,7 @@ public void VerifyWhitespaceHandlerConsumeWholeLine(bool trim, bool trimForward,
158
158
{
159
159
MockOperation o = new MockOperation (
160
160
null ,
161
- ( IProcessorState state , int length , ref int position , int token ) =>
161
+ ( state , length , ref position , token ) =>
162
162
{
163
163
state . WhitespaceHandler ( ref length , ref position , true , trim , trimForward , trimBackward ) ;
164
164
return 0 ;
@@ -187,7 +187,7 @@ public void VerifyWhitespaceHandlerTrim(bool trimForward, bool trimBackward)
187
187
{
188
188
MockOperation o = new MockOperation (
189
189
null ,
190
- ( IProcessorState state , int length , ref int position , int token ) =>
190
+ ( state , length , ref position , token ) =>
191
191
{
192
192
state . WhitespaceHandler ( ref length , ref position , false , true , trimForward , trimBackward ) ;
193
193
return 0 ;
@@ -213,7 +213,7 @@ public void VerifyWhitespaceHandlerTrimForwardButNotBack()
213
213
{
214
214
MockOperation o = new MockOperation (
215
215
null ,
216
- ( IProcessorState state , int length , ref int position , int token ) =>
216
+ ( state , length , ref position , token ) =>
217
217
{
218
218
state . WhitespaceHandler ( ref length , ref position , false , false , true , false ) ;
219
219
return 0 ;
@@ -238,7 +238,7 @@ public void VerifyWhitespaceHandlerTrimBackButNotForward()
238
238
{
239
239
MockOperation o = new MockOperation (
240
240
null ,
241
- ( IProcessorState state , int length , ref int position , int token ) =>
241
+ ( state , length , ref position , token ) =>
242
242
{
243
243
state . WhitespaceHandler ( ref length , ref position , false , false , false , true ) ;
244
244
return 0 ;
@@ -263,7 +263,7 @@ public void VerifyWhitespaceHandlerTrimBackAndForward()
263
263
{
264
264
MockOperation o = new MockOperation (
265
265
null ,
266
- ( IProcessorState state , int length , ref int position , int token ) =>
266
+ ( state , length , ref position , token ) =>
267
267
{
268
268
state . WhitespaceHandler ( ref length , ref position , false , false , true , true ) ;
269
269
return 0 ;
0 commit comments