@@ -22,11 +22,6 @@ protected override bool ReleaseHandle()
22
22
23
23
return true ;
24
24
}
25
-
26
- public static implicit operator git_tree_entry * ( TreeEntryHandle handle )
27
- {
28
- return ( git_tree_entry * ) handle . DangerousGetHandle ( ) ;
29
- }
30
25
}
31
26
32
27
internal unsafe class ReferenceHandle : Libgit2Object
@@ -47,11 +42,6 @@ protected override bool ReleaseHandle()
47
42
48
43
return true ;
49
44
}
50
-
51
- public static implicit operator git_reference * ( ReferenceHandle handle )
52
- {
53
- return ( git_reference * ) handle . DangerousGetHandle ( ) ;
54
- }
55
45
}
56
46
57
47
internal unsafe class RepositoryHandle : Libgit2Object
@@ -72,11 +62,6 @@ protected override bool ReleaseHandle()
72
62
73
63
return true ;
74
64
}
75
-
76
- public static implicit operator git_repository * ( RepositoryHandle handle )
77
- {
78
- return ( git_repository * ) handle . DangerousGetHandle ( ) ;
79
- }
80
65
}
81
66
82
67
internal unsafe class SignatureHandle : Libgit2Object
@@ -97,11 +82,6 @@ protected override bool ReleaseHandle()
97
82
98
83
return true ;
99
84
}
100
-
101
- public static implicit operator git_signature * ( SignatureHandle handle )
102
- {
103
- return ( git_signature * ) handle . DangerousGetHandle ( ) ;
104
- }
105
85
}
106
86
107
87
internal unsafe class StatusListHandle : Libgit2Object
@@ -122,11 +102,6 @@ protected override bool ReleaseHandle()
122
102
123
103
return true ;
124
104
}
125
-
126
- public static implicit operator git_status_list * ( StatusListHandle handle )
127
- {
128
- return ( git_status_list * ) handle . DangerousGetHandle ( ) ;
129
- }
130
105
}
131
106
132
107
internal unsafe class BlameHandle : Libgit2Object
@@ -147,11 +122,6 @@ protected override bool ReleaseHandle()
147
122
148
123
return true ;
149
124
}
150
-
151
- public static implicit operator git_blame * ( BlameHandle handle )
152
- {
153
- return ( git_blame * ) handle . DangerousGetHandle ( ) ;
154
- }
155
125
}
156
126
157
127
internal unsafe class DiffHandle : Libgit2Object
@@ -172,11 +142,6 @@ protected override bool ReleaseHandle()
172
142
173
143
return true ;
174
144
}
175
-
176
- public static implicit operator git_diff * ( DiffHandle handle )
177
- {
178
- return ( git_diff * ) handle . DangerousGetHandle ( ) ;
179
- }
180
145
}
181
146
182
147
internal unsafe class PatchHandle : Libgit2Object
@@ -197,11 +162,6 @@ protected override bool ReleaseHandle()
197
162
198
163
return true ;
199
164
}
200
-
201
- public static implicit operator git_patch * ( PatchHandle handle )
202
- {
203
- return ( git_patch * ) handle . DangerousGetHandle ( ) ;
204
- }
205
165
}
206
166
207
167
internal unsafe class ConfigurationHandle : Libgit2Object
@@ -222,11 +182,6 @@ protected override bool ReleaseHandle()
222
182
223
183
return true ;
224
184
}
225
-
226
- public static implicit operator git_config * ( ConfigurationHandle handle )
227
- {
228
- return ( git_config * ) handle . DangerousGetHandle ( ) ;
229
- }
230
185
}
231
186
232
187
internal unsafe class ConflictIteratorHandle : Libgit2Object
@@ -247,11 +202,6 @@ protected override bool ReleaseHandle()
247
202
248
203
return true ;
249
204
}
250
-
251
- public static implicit operator git_index_conflict_iterator * ( ConflictIteratorHandle handle )
252
- {
253
- return ( git_index_conflict_iterator * ) handle . DangerousGetHandle ( ) ;
254
- }
255
205
}
256
206
257
207
internal unsafe class IndexHandle : Libgit2Object
@@ -272,11 +222,6 @@ protected override bool ReleaseHandle()
272
222
273
223
return true ;
274
224
}
275
-
276
- public static implicit operator git_index * ( IndexHandle handle )
277
- {
278
- return ( git_index * ) handle . DangerousGetHandle ( ) ;
279
- }
280
225
}
281
226
282
227
internal unsafe class ReflogHandle : Libgit2Object
@@ -297,11 +242,6 @@ protected override bool ReleaseHandle()
297
242
298
243
return true ;
299
244
}
300
-
301
- public static implicit operator git_reflog * ( ReflogHandle handle )
302
- {
303
- return ( git_reflog * ) handle . DangerousGetHandle ( ) ;
304
- }
305
245
}
306
246
307
247
internal unsafe class TreeBuilderHandle : Libgit2Object
@@ -322,11 +262,6 @@ protected override bool ReleaseHandle()
322
262
323
263
return true ;
324
264
}
325
-
326
- public static implicit operator git_treebuilder * ( TreeBuilderHandle handle )
327
- {
328
- return ( git_treebuilder * ) handle . DangerousGetHandle ( ) ;
329
- }
330
265
}
331
266
332
267
internal unsafe class PackBuilderHandle : Libgit2Object
@@ -347,11 +282,6 @@ protected override bool ReleaseHandle()
347
282
348
283
return true ;
349
284
}
350
-
351
- public static implicit operator git_packbuilder * ( PackBuilderHandle handle )
352
- {
353
- return ( git_packbuilder * ) handle . DangerousGetHandle ( ) ;
354
- }
355
285
}
356
286
357
287
internal unsafe class NoteHandle : Libgit2Object
@@ -372,11 +302,6 @@ protected override bool ReleaseHandle()
372
302
373
303
return true ;
374
304
}
375
-
376
- public static implicit operator git_note * ( NoteHandle handle )
377
- {
378
- return ( git_note * ) handle . DangerousGetHandle ( ) ;
379
- }
380
305
}
381
306
382
307
internal unsafe class DescribeResultHandle : Libgit2Object
@@ -397,11 +322,6 @@ protected override bool ReleaseHandle()
397
322
398
323
return true ;
399
324
}
400
-
401
- public static implicit operator git_describe_result * ( DescribeResultHandle handle )
402
- {
403
- return ( git_describe_result * ) handle . DangerousGetHandle ( ) ;
404
- }
405
325
}
406
326
407
327
internal unsafe class SubmoduleHandle : Libgit2Object
@@ -422,11 +342,6 @@ protected override bool ReleaseHandle()
422
342
423
343
return true ;
424
344
}
425
-
426
- public static implicit operator git_submodule * ( SubmoduleHandle handle )
427
- {
428
- return ( git_submodule * ) handle . DangerousGetHandle ( ) ;
429
- }
430
345
}
431
346
432
347
internal unsafe class AnnotatedCommitHandle : Libgit2Object
@@ -447,11 +362,6 @@ protected override bool ReleaseHandle()
447
362
448
363
return true ;
449
364
}
450
-
451
- public static implicit operator git_annotated_commit * ( AnnotatedCommitHandle handle )
452
- {
453
- return ( git_annotated_commit * ) handle . DangerousGetHandle ( ) ;
454
- }
455
365
}
456
366
457
367
internal unsafe class ObjectDatabaseHandle : Libgit2Object
@@ -472,11 +382,6 @@ protected override bool ReleaseHandle()
472
382
473
383
return true ;
474
384
}
475
-
476
- public static implicit operator git_odb * ( ObjectDatabaseHandle handle )
477
- {
478
- return ( git_odb * ) handle . DangerousGetHandle ( ) ;
479
- }
480
385
}
481
386
482
387
internal unsafe class RevWalkerHandle : Libgit2Object
@@ -497,11 +402,6 @@ protected override bool ReleaseHandle()
497
402
498
403
return true ;
499
404
}
500
-
501
- public static implicit operator git_revwalk * ( RevWalkerHandle handle )
502
- {
503
- return ( git_revwalk * ) handle . DangerousGetHandle ( ) ;
504
- }
505
405
}
506
406
507
407
internal unsafe class RemoteHandle : Libgit2Object
@@ -522,11 +422,6 @@ protected override bool ReleaseHandle()
522
422
523
423
return true ;
524
424
}
525
-
526
- public static implicit operator git_remote * ( RemoteHandle handle )
527
- {
528
- return ( git_remote * ) handle . DangerousGetHandle ( ) ;
529
- }
530
425
}
531
426
532
427
internal unsafe class ObjectHandle : Libgit2Object
@@ -547,11 +442,6 @@ protected override bool ReleaseHandle()
547
442
548
443
return true ;
549
444
}
550
-
551
- public static implicit operator git_object * ( ObjectHandle handle )
552
- {
553
- return ( git_object * ) handle . DangerousGetHandle ( ) ;
554
- }
555
445
}
556
446
557
447
internal unsafe class RebaseHandle : Libgit2Object
@@ -572,11 +462,6 @@ protected override bool ReleaseHandle()
572
462
573
463
return true ;
574
464
}
575
-
576
- public static implicit operator git_rebase * ( RebaseHandle handle )
577
- {
578
- return ( git_rebase * ) handle . DangerousGetHandle ( ) ;
579
- }
580
465
}
581
466
582
467
internal unsafe class OdbStreamHandle : Libgit2Object
@@ -597,11 +482,6 @@ protected override bool ReleaseHandle()
597
482
598
483
return true ;
599
484
}
600
-
601
- public static implicit operator git_odb_stream * ( OdbStreamHandle handle )
602
- {
603
- return ( git_odb_stream * ) handle . DangerousGetHandle ( ) ;
604
- }
605
485
}
606
486
607
487
internal unsafe class WorktreeHandle : Libgit2Object
@@ -622,11 +502,6 @@ protected override bool ReleaseHandle()
622
502
623
503
return true ;
624
504
}
625
-
626
- public static implicit operator git_worktree * ( WorktreeHandle handle )
627
- {
628
- return ( git_worktree * ) handle . DangerousGetHandle ( ) ;
629
- }
630
505
}
631
506
632
507
}
0 commit comments