2
2
using System . Diagnostics . CodeAnalysis ;
3
3
using System . Diagnostics . Tracing ;
4
4
using System . Runtime . CompilerServices ;
5
- using JetBrains . Annotations ;
6
5
7
6
namespace LambdaConverters
8
7
{
@@ -17,7 +16,7 @@ public static class Keywords
17
16
public const EventKeywords Rules = ( EventKeywords ) 0x10 ;
18
17
}
19
18
20
- [ NotNull ]
19
+ [ JetBrains . Annotations . NotNull ]
21
20
public static readonly EventSource Log = new EventSource ( ) ;
22
21
23
22
EventSource ( ) { }
@@ -33,8 +32,8 @@ public static class Keywords
33
32
Level = EventLevel . Warning ,
34
33
Keywords = Keywords . Converters ,
35
34
Opcode = EventOpcode . Info
36
- #if NET46
37
- , Channel = EventChannel . Operational
35
+ #if NET46 || NETCOREAPP
36
+ , Channel = EventChannel . Operational
38
37
#endif
39
38
) ]
40
39
public void MissingConvertFunction (
@@ -63,8 +62,8 @@ public void MissingConvertFunction(
63
62
Level = EventLevel . Warning ,
64
63
Keywords = Keywords . Converters ,
65
64
Opcode = EventOpcode . Info
66
- #if NET46
67
- , Channel = EventChannel . Operational
65
+ #if NET46 || NETCOREAPP
66
+ , Channel = EventChannel . Operational
68
67
#endif
69
68
) ]
70
69
public void MissingConvertBackFunction (
@@ -93,8 +92,8 @@ public void MissingConvertBackFunction(
93
92
Level = EventLevel . Warning ,
94
93
Keywords = Keywords . Converters ,
95
94
Opcode = EventOpcode . Info
96
- #if NET46
97
- , Channel = EventChannel . Operational
95
+ #if NET46 || NETCOREAPP
96
+ , Channel = EventChannel . Operational
98
97
#endif
99
98
) ]
100
99
public void NonAssignableTargetType (
@@ -125,8 +124,8 @@ public void NonAssignableTargetType(
125
124
Level = EventLevel . Warning ,
126
125
Keywords = Keywords . Converters ,
127
126
Opcode = EventOpcode . Info
128
- #if NET46
129
- , Channel = EventChannel . Operational
127
+ #if NET46 || NETCOREAPP
128
+ , Channel = EventChannel . Operational
130
129
#endif
131
130
) ]
132
131
public void NonAssignableTargetTypeForBackConversion (
@@ -157,8 +156,8 @@ public void NonAssignableTargetTypeForBackConversion(
157
156
Level = EventLevel . Warning ,
158
157
Keywords = Keywords . Converters ,
159
158
Opcode = EventOpcode . Info
160
- #if NET46
161
- , Channel = EventChannel . Operational
159
+ #if NET46 || NETCOREAPP
160
+ , Channel = EventChannel . Operational
162
161
#endif
163
162
) ]
164
163
public void NonAssignableTargetTypeAtPositionForBackConversion (
@@ -191,8 +190,8 @@ public void NonAssignableTargetTypeAtPositionForBackConversion(
191
190
Level = EventLevel . Warning ,
192
191
Keywords = Keywords . Converters ,
193
192
Opcode = EventOpcode . Info
194
- #if NET46
195
- , Channel = EventChannel . Operational
193
+ #if NET46 || NETCOREAPP
194
+ , Channel = EventChannel . Operational
196
195
#endif
197
196
) ]
198
197
public void NullValues (
@@ -219,8 +218,8 @@ public void NullValues(
219
218
Level = EventLevel . Informational ,
220
219
Keywords = Keywords . Converters ,
221
220
Opcode = EventOpcode . Info
222
- #if NET46
223
- , Channel = EventChannel . Operational
221
+ #if NET46 || NETCOREAPP
222
+ , Channel = EventChannel . Operational
224
223
#endif
225
224
) ]
226
225
public void NonRequestedTargetType (
@@ -245,8 +244,8 @@ public void NonRequestedTargetType(
245
244
Level = EventLevel . Informational ,
246
245
Keywords = Keywords . Converters ,
247
246
Opcode = EventOpcode . Info
248
- #if NET46
249
- , Channel = EventChannel . Operational
247
+ #if NET46 || NETCOREAPP
248
+ , Channel = EventChannel . Operational
250
249
#endif
251
250
) ]
252
251
public void NonRequestedTargetTypeAtPosition (
@@ -273,8 +272,8 @@ public void NonRequestedTargetTypeAtPosition(
273
272
Level = EventLevel . Warning ,
274
273
Keywords = Keywords . Converters ,
275
274
Opcode = EventOpcode . Info
276
- #if NET46
277
- , Channel = EventChannel . Operational
275
+ #if NET46 || NETCOREAPP
276
+ , Channel = EventChannel . Operational
278
277
#endif
279
278
) ]
280
279
public void ParameterInParameterlessConverter (
@@ -303,8 +302,8 @@ public void ParameterInParameterlessConverter(
303
302
Level = EventLevel . Warning ,
304
303
Keywords = Keywords . Converters ,
305
304
Opcode = EventOpcode . Info
306
- #if NET46
307
- , Channel = EventChannel . Operational
305
+ #if NET46 || NETCOREAPP
306
+ , Channel = EventChannel . Operational
308
307
#endif
309
308
) ]
310
309
public void ParameterInParameterlessConverterForBackConversion (
@@ -333,8 +332,8 @@ public void ParameterInParameterlessConverterForBackConversion(
333
332
Level = EventLevel . Warning ,
334
333
Keywords = Keywords . Converters ,
335
334
Opcode = EventOpcode . Info
336
- #if NET46
337
- , Channel = EventChannel . Operational
335
+ #if NET46 || NETCOREAPP
336
+ , Channel = EventChannel . Operational
338
337
#endif
339
338
) ]
340
339
public void UnableToCastToInputType (
@@ -365,8 +364,8 @@ public void UnableToCastToInputType(
365
364
Level = EventLevel . Warning ,
366
365
Keywords = Keywords . Converters ,
367
366
Opcode = EventOpcode . Info
368
- #if NET46
369
- , Channel = EventChannel . Operational
367
+ #if NET46 || NETCOREAPP
368
+ , Channel = EventChannel . Operational
370
369
#endif
371
370
) ]
372
371
public void UnableToCastAtPositionToInputType (
@@ -399,8 +398,8 @@ public void UnableToCastAtPositionToInputType(
399
398
Level = EventLevel . Warning ,
400
399
Keywords = Keywords . Converters ,
401
400
Opcode = EventOpcode . Info
402
- #if NET46
403
- , Channel = EventChannel . Operational
401
+ #if NET46 || NETCOREAPP
402
+ , Channel = EventChannel . Operational
404
403
#endif
405
404
) ]
406
405
public void UnableToCastToOutputType (
@@ -431,8 +430,8 @@ public void UnableToCastToOutputType(
431
430
Level = EventLevel . Warning ,
432
431
Keywords = Keywords . Converters ,
433
432
Opcode = EventOpcode . Info
434
- #if NET46
435
- , Channel = EventChannel . Operational
433
+ #if NET46 || NETCOREAPP
434
+ , Channel = EventChannel . Operational
436
435
#endif
437
436
) ]
438
437
public void UnableToCastToParameterType (
@@ -463,8 +462,8 @@ public void UnableToCastToParameterType(
463
462
Level = EventLevel . Warning ,
464
463
Keywords = Keywords . Converters ,
465
464
Opcode = EventOpcode . Info
466
- #if NET46
467
- , Channel = EventChannel . Operational
465
+ #if NET46 || NETCOREAPP
466
+ , Channel = EventChannel . Operational
468
467
#endif
469
468
) ]
470
469
public void UnableToCastToParameterTypeForBackConversion (
@@ -495,8 +494,8 @@ public void UnableToCastToParameterTypeForBackConversion(
495
494
Level = EventLevel . Warning ,
496
495
Keywords = Keywords . Selectors ,
497
496
Opcode = EventOpcode . Info
498
- #if NET46
499
- , Channel = EventChannel . Operational
497
+ #if NET46 || NETCOREAPP
498
+ , Channel = EventChannel . Operational
500
499
#endif
501
500
) ]
502
501
public void MissingSelectTemplateFunction (
@@ -525,8 +524,8 @@ public void MissingSelectTemplateFunction(
525
524
Level = EventLevel . Warning ,
526
525
Keywords = Keywords . Selectors ,
527
526
Opcode = EventOpcode . Info
528
- #if NET46
529
- , Channel = EventChannel . Operational
527
+ #if NET46 || NETCOREAPP
528
+ , Channel = EventChannel . Operational
530
529
#endif
531
530
) ]
532
531
public void UnableToCastToItemType (
@@ -557,8 +556,8 @@ public void UnableToCastToItemType(
557
556
Level = EventLevel . Warning ,
558
557
Keywords = Keywords . Rules ,
559
558
Opcode = EventOpcode . Info
560
- #if NET46
561
- , Channel = EventChannel . Operational
559
+ #if NET46 || NETCOREAPP
560
+ , Channel = EventChannel . Operational
562
561
#endif
563
562
) ]
564
563
public void MissingRuleFunction (
@@ -587,8 +586,8 @@ public void MissingRuleFunction(
587
586
Level = EventLevel . Warning ,
588
587
Keywords = Keywords . Rules ,
589
588
Opcode = EventOpcode . Info
590
- #if NET46
591
- , Channel = EventChannel . Operational
589
+ #if NET46 || NETCOREAPP
590
+ , Channel = EventChannel . Operational
592
591
#endif
593
592
) ]
594
593
public void UnableToCastToRuleInputType (
0 commit comments