-
-
Notifications
You must be signed in to change notification settings - Fork 229
Expand file tree
/
Copy pathApiApprovalTests.Run.DotNet8_0.verified.txt
More file actions
1949 lines (1949 loc) · 116 KB
/
ApiApprovalTests.Run.DotNet8_0.verified.txt
File metadata and controls
1949 lines (1949 loc) · 116 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
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
[assembly: System.CLSCompliant(true)]
namespace Sentry
{
public enum AttachmentType
{
Default = 0,
Minidump = 1,
AppleCrashReport = 2,
UnrealContext = 3,
UnrealLogs = 4,
ViewHierarchy = 5,
}
public class BaggageHeader
{
public override string ToString() { }
}
[System.Diagnostics.DebuggerDisplay("Message: {Message}, Type: {Type}")]
public sealed class Breadcrumb : Sentry.ISentryJsonSerializable
{
public Breadcrumb(string message, string type, System.Collections.Generic.IReadOnlyDictionary<string, string>? data = null, string? category = null, Sentry.BreadcrumbLevel level = 0) { }
public string? Category { get; }
public System.Collections.Generic.IReadOnlyDictionary<string, string>? Data { get; }
public Sentry.BreadcrumbLevel Level { get; }
public string? Message { get; }
public System.DateTimeOffset Timestamp { get; }
public string? Type { get; }
public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { }
public static Sentry.Breadcrumb FromJson(System.Text.Json.JsonElement json) { }
}
public enum BreadcrumbLevel
{
[System.Runtime.Serialization.EnumMember(Value="debug")]
Debug = -1,
[System.Runtime.Serialization.EnumMember(Value="info")]
Info = 0,
[System.Runtime.Serialization.EnumMember(Value="warning")]
Warning = 1,
[System.Runtime.Serialization.EnumMember(Value="error")]
Error = 2,
[System.Runtime.Serialization.EnumMember(Value="fatal")]
Fatal = 3,
}
public class ByteAttachmentContent : Sentry.IAttachmentContent
{
public ByteAttachmentContent(byte[] bytes) { }
public System.IO.Stream GetStream() { }
}
public enum CaptureFeedbackResult
{
Success = 0,
UnknownError = 1,
DisabledHub = 2,
EmptyMessage = 3,
}
public enum CheckInStatus
{
InProgress = 0,
Ok = 1,
Error = 2,
}
[System.Obsolete("WARNING: This method deliberately causes a crash, and should not be used in a rea" +
"l application.")]
public enum CrashType
{
Managed = 0,
ManagedBackgroundThread = 1,
Native = 2,
}
[System.Diagnostics.CodeAnalysis.Experimental("SENTRY0001")]
public class Debouncer
{
public static Sentry.Debouncer PerApplicationLifetime(int eventMaximum = 1, System.TimeSpan? cooldown = default) { }
public static Sentry.Debouncer PerDay(int eventMaximum = 1, System.TimeSpan? cooldown = default) { }
public static Sentry.Debouncer PerHour(int eventMaximum = 1, System.TimeSpan? cooldown = default) { }
public static Sentry.Debouncer PerMinute(int eventMaximum = 1, System.TimeSpan? cooldown = default) { }
}
[System.Flags]
public enum DeduplicateMode
{
SameEvent = 1,
SameExceptionInstance = 2,
InnerException = 4,
AggregateException = 8,
All = 2147483647,
}
public class DefaultSentryScopeStateProcessor : Sentry.ISentryScopeStateProcessor
{
public DefaultSentryScopeStateProcessor() { }
public void Apply(Sentry.Scope scope, object state) { }
}
[System.AttributeUsage(System.AttributeTargets.Assembly)]
public class DsnAttribute : System.Attribute
{
public DsnAttribute(string dsn) { }
public string Dsn { get; }
}
public static class EventLikeExtensions
{
public static void AddBreadcrumb(this Sentry.IEventLike eventLike, string message, string? category, string? type, System.ValueTuple<string, string>? dataPair = default, Sentry.BreadcrumbLevel level = 0) { }
public static void AddBreadcrumb(this Sentry.IEventLike eventLike, string message, string? category = null, string? type = null, System.Collections.Generic.IReadOnlyDictionary<string, string>? data = null, Sentry.BreadcrumbLevel level = 0) { }
public static void AddBreadcrumb(this Sentry.IEventLike eventLike, System.DateTimeOffset? timestamp, string message, string? category = null, string? type = null, System.Collections.Generic.IReadOnlyDictionary<string, string>? data = null, Sentry.BreadcrumbLevel level = 0) { }
public static bool HasUser(this Sentry.IEventLike eventLike) { }
public static void SetFingerprint(this Sentry.IEventLike eventLike, System.Collections.Generic.IEnumerable<string> fingerprint) { }
public static void SetFingerprint(this Sentry.IEventLike eventLike, params string[] fingerprint) { }
}
public class FileAttachmentContent : Sentry.IAttachmentContent
{
public FileAttachmentContent(string filePath) { }
public FileAttachmentContent(string filePath, bool readFileAsynchronously) { }
public System.IO.Stream GetStream() { }
}
public static class HasExtraExtensions
{
public static void SetExtras(this Sentry.IHasExtra hasExtra, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, object?>> values) { }
}
public static class HasTagsExtensions
{
public static void SetTags(this Sentry.IHasTags hasTags, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, string>> tags) { }
}
[System.Diagnostics.CodeAnalysis.Experimental("SENTRY0001")]
public delegate bool HeapDumpTrigger(long usedMemory, long totalMemory);
public static class HintTypes
{
public const string HttpResponseMessage = "http-response-message";
}
public readonly struct HttpStatusCodeRange : System.IEquatable<Sentry.HttpStatusCodeRange>
{
public HttpStatusCodeRange(int statusCode) { }
public HttpStatusCodeRange(int start, int end) { }
public int End { get; init; }
public int Start { get; init; }
public bool Contains(int statusCode) { }
public bool Contains(System.Net.HttpStatusCode statusCode) { }
public static Sentry.HttpStatusCodeRange op_Implicit(int statusCode) { }
public static Sentry.HttpStatusCodeRange op_Implicit(System.Net.HttpStatusCode statusCode) { }
public static Sentry.HttpStatusCodeRange op_Implicit([System.Runtime.CompilerServices.TupleElementNames(new string[] {
"Start",
"End"})] System.ValueTuple<int, int> range) { }
public static Sentry.HttpStatusCodeRange op_Implicit([System.Runtime.CompilerServices.TupleElementNames(new string[] {
"start",
"end"})] System.ValueTuple<System.Net.HttpStatusCode, System.Net.HttpStatusCode> range) { }
}
public static class HubExtensions
{
public static void AddBreadcrumb(this Sentry.IHub hub, Sentry.Breadcrumb breadcrumb, Sentry.SentryHint? hint = null) { }
public static void AddBreadcrumb(this Sentry.IHub hub, string message, string? category = null, string? type = null, System.Collections.Generic.IDictionary<string, string>? data = null, Sentry.BreadcrumbLevel level = 0) { }
public static void AddBreadcrumb(this Sentry.IHub hub, Sentry.Infrastructure.ISystemClock? clock, string message, string? category = null, string? type = null, System.Collections.Generic.IDictionary<string, string>? data = null, Sentry.BreadcrumbLevel level = 0) { }
public static Sentry.SentryId CaptureException(this Sentry.IHub hub, System.Exception ex, System.Action<Sentry.Scope> configureScope) { }
public static Sentry.SentryId CaptureFeedback(this Sentry.IHub hub, Sentry.SentryFeedback feedback, System.Action<Sentry.Scope> configureScope, Sentry.SentryHint? hint = null) { }
public static Sentry.SentryId CaptureMessage(this Sentry.IHub hub, string message, System.Action<Sentry.Scope> configureScope, Sentry.SentryLevel level = 1) { }
public static void LockScope(this Sentry.IHub hub) { }
public static System.IDisposable PushAndLockScope(this Sentry.IHub hub) { }
public static Sentry.ISpan StartSpan(this Sentry.IHub hub, string operation, string description) { }
public static Sentry.ITransactionTracer StartTransaction(this Sentry.IHub hub, Sentry.ITransactionContext context) { }
public static Sentry.ITransactionTracer StartTransaction(this Sentry.IHub hub, string name, string operation) { }
public static Sentry.ITransactionTracer StartTransaction(this Sentry.IHub hub, string name, string operation, Sentry.SentryTraceHeader traceHeader) { }
public static Sentry.ITransactionTracer StartTransaction(this Sentry.IHub hub, string name, string operation, string? description) { }
public static void UnlockScope(this Sentry.IHub hub) { }
}
public interface IAttachmentContent
{
System.IO.Stream GetStream();
}
public interface IEventLike : Sentry.IHasExtra, Sentry.IHasTags
{
System.Collections.Generic.IReadOnlyCollection<Sentry.Breadcrumb> Breadcrumbs { get; }
Sentry.SentryContexts Contexts { get; set; }
string? Distribution { get; set; }
string? Environment { get; set; }
System.Collections.Generic.IReadOnlyList<string> Fingerprint { get; set; }
Sentry.SentryLevel? Level { get; set; }
string? Release { get; set; }
Sentry.SentryRequest Request { get; set; }
Sentry.SdkVersion Sdk { get; }
string? TransactionName { get; set; }
Sentry.SentryUser User { get; set; }
void AddBreadcrumb(Sentry.Breadcrumb breadcrumb);
}
public interface IHasData
{
System.Collections.Generic.IReadOnlyDictionary<string, object?> Data { get; }
void SetData(string key, object? value);
}
public interface IHasExtra
{
System.Collections.Generic.IReadOnlyDictionary<string, object?> Extra { get; }
void SetExtra(string key, object? value);
}
public interface IHasTags
{
System.Collections.Generic.IReadOnlyDictionary<string, string> Tags { get; }
void SetTag(string key, string value);
void UnsetTag(string key);
}
public interface IHub : Sentry.ISentryClient, Sentry.ISentryScopeManager
{
bool IsSessionActive { get; }
Sentry.SentryId LastEventId { get; }
Sentry.SentryStructuredLogger Logger { get; }
void BindException(System.Exception exception, Sentry.ISpan span);
Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, System.Action<Sentry.Scope> configureScope);
Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.SentryHint? hint, System.Action<Sentry.Scope> configureScope);
Sentry.SentryId CaptureFeedback(Sentry.SentryFeedback feedback, out Sentry.CaptureFeedbackResult result, System.Action<Sentry.Scope> configureScope, Sentry.SentryHint? hint = null);
Sentry.TransactionContext ContinueTrace(Sentry.SentryTraceHeader? traceHeader, Sentry.BaggageHeader? baggageHeader, string? name = null, string? operation = null);
Sentry.TransactionContext ContinueTrace(string? traceHeader, string? baggageHeader, string? name = null, string? operation = null);
void EndSession(Sentry.SessionEndStatus status = 0);
Sentry.BaggageHeader? GetBaggage();
Sentry.ISpan? GetSpan();
Sentry.SentryTraceHeader? GetTraceHeader();
Sentry.W3CTraceparentHeader? GetTraceparentHeader();
void PauseSession();
void ResumeSession();
void StartSession();
Sentry.ITransactionTracer StartTransaction(Sentry.ITransactionContext context, System.Collections.Generic.IReadOnlyDictionary<string, object?> customSamplingContext);
}
public interface IScopeObserver
{
void AddBreadcrumb(Sentry.Breadcrumb breadcrumb, Sentry.SentryHint hint);
void SetExtra(string key, object? value);
void SetTag(string key, string value);
void SetTrace(Sentry.SentryId traceId, Sentry.SpanId parentSpanId);
void SetUser(Sentry.SentryUser? user);
void UnsetTag(string key);
}
public interface ISentryClient
{
bool IsEnabled { get; }
Sentry.SentryId CaptureCheckIn(string monitorSlug, Sentry.CheckInStatus status, Sentry.SentryId? sentryId = default, System.TimeSpan? duration = default, Sentry.Scope? scope = null, System.Action<Sentry.SentryMonitorOptions>? configureMonitorOptions = null);
bool CaptureEnvelope(Sentry.Protocol.Envelopes.Envelope envelope);
Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null);
Sentry.SentryId CaptureFeedback(Sentry.SentryFeedback feedback, out Sentry.CaptureFeedbackResult result, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null);
void CaptureSession(Sentry.SessionUpdate sessionUpdate);
void CaptureTransaction(Sentry.SentryTransaction transaction);
void CaptureTransaction(Sentry.SentryTransaction transaction, Sentry.Scope? scope, Sentry.SentryHint? hint);
System.Threading.Tasks.Task FlushAsync(System.TimeSpan timeout);
}
public interface ISentryJsonSerializable
{
void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger);
}
public interface ISentryScopeManager
{
void BindClient(Sentry.ISentryClient client);
void ConfigureScope(System.Action<Sentry.Scope> configureScope);
void ConfigureScope<TArg>(System.Action<Sentry.Scope, TArg> configureScope, TArg arg);
System.Threading.Tasks.Task ConfigureScopeAsync(System.Func<Sentry.Scope, System.Threading.Tasks.Task> configureScope);
System.Threading.Tasks.Task ConfigureScopeAsync<TArg>(System.Func<Sentry.Scope, TArg, System.Threading.Tasks.Task> configureScope, TArg arg);
System.IDisposable PushScope();
System.IDisposable PushScope<TState>(TState state);
void SetTag(string key, string value);
void UnsetTag(string key);
}
public interface ISentryScopeStateProcessor
{
void Apply(Sentry.Scope scope, object state);
}
public interface ISentrySession
{
string? DistinctId { get; }
string? Environment { get; }
int ErrorCount { get; }
Sentry.SentryId Id { get; }
string? IpAddress { get; }
string Release { get; }
System.DateTimeOffset StartTimestamp { get; }
string? UserAgent { get; }
}
public interface ISentryUserFactory
{
Sentry.SentryUser? Create();
}
public interface ISpan : Sentry.IHasData, Sentry.IHasExtra, Sentry.IHasTags, Sentry.ISpanData, Sentry.Protocol.ITraceContext, System.IDisposable
{
new string? Description { get; set; }
new string Operation { get; set; }
new Sentry.SpanStatus? Status { get; set; }
void Finish();
void Finish(Sentry.SpanStatus status);
void Finish(System.Exception exception);
void Finish(System.Exception exception, Sentry.SpanStatus status);
Sentry.ISpan StartChild(string operation);
}
public interface ISpanData : Sentry.IHasData, Sentry.IHasExtra, Sentry.IHasTags, Sentry.Protocol.ITraceContext
{
System.DateTimeOffset? EndTimestamp { get; }
bool IsFinished { get; }
System.Collections.Generic.IReadOnlyDictionary<string, Sentry.Protocol.Measurement> Measurements { get; }
System.DateTimeOffset StartTimestamp { get; }
Sentry.SentryTraceHeader GetTraceHeader();
void SetMeasurement(string name, Sentry.Protocol.Measurement measurement);
}
public interface ITransactionContext : Sentry.Protocol.ITraceContext
{
bool? IsParentSampled { get; }
string Name { get; }
Sentry.TransactionNameSource NameSource { get; }
}
public interface ITransactionData : Sentry.IEventLike, Sentry.IHasData, Sentry.IHasExtra, Sentry.IHasTags, Sentry.ISpanData, Sentry.ITransactionContext, Sentry.Protocol.ITraceContext
{
string? Platform { get; set; }
}
public interface ITransactionTracer : Sentry.IEventLike, Sentry.IHasData, Sentry.IHasExtra, Sentry.IHasTags, Sentry.ISpan, Sentry.ISpanData, Sentry.ITransactionContext, Sentry.ITransactionData, Sentry.Protocol.ITraceContext, System.IDisposable
{
new bool? IsParentSampled { get; set; }
new string Name { get; set; }
System.Collections.Generic.IReadOnlyCollection<Sentry.ISpan> Spans { get; }
Sentry.ISpan? GetLastActiveSpan();
}
public enum InstructionAddressAdjustment
{
Auto = 0,
All = 1,
AllButFirst = 2,
None = 3,
}
public enum Instrumenter
{
Sentry = 0,
OpenTelemetry = 1,
}
public readonly struct MeasurementUnit : System.IEquatable<Sentry.MeasurementUnit>
{
public static Sentry.MeasurementUnit None;
public bool Equals(Sentry.MeasurementUnit other) { }
public override bool Equals(object? obj) { }
public override int GetHashCode() { }
public override string ToString() { }
public static Sentry.MeasurementUnit Custom(string name) { }
public static Sentry.MeasurementUnit op_Implicit(Sentry.MeasurementUnit.Duration unit) { }
public static Sentry.MeasurementUnit op_Implicit(Sentry.MeasurementUnit.Fraction unit) { }
public static Sentry.MeasurementUnit op_Implicit(Sentry.MeasurementUnit.Information unit) { }
public static bool operator !=(Sentry.MeasurementUnit left, Sentry.MeasurementUnit right) { }
public static bool operator ==(Sentry.MeasurementUnit left, Sentry.MeasurementUnit right) { }
public enum Duration
{
Nanosecond = 0,
Microsecond = 1,
Millisecond = 2,
Second = 3,
Minute = 4,
Hour = 5,
Day = 6,
Week = 7,
}
public enum Fraction
{
Ratio = 0,
Percent = 1,
}
public enum Information
{
Bit = 0,
Byte = 1,
Kilobyte = 2,
Kibibyte = 3,
Megabyte = 4,
Mebibyte = 5,
Gigabyte = 6,
Gibibyte = 7,
Terabyte = 8,
Tebibyte = 9,
Petabyte = 10,
Pebibyte = 11,
Exabyte = 12,
Exbibyte = 13,
}
}
public enum ReportAssembliesMode
{
None = 0,
Version = 1,
InformationalVersion = 2,
}
public class Scope : Sentry.IEventLike, Sentry.IHasExtra, Sentry.IHasTags
{
public Scope(Sentry.SentryOptions? options) { }
public System.Collections.Generic.IReadOnlyCollection<Sentry.SentryAttachment> Attachments { get; }
public System.Collections.Generic.IReadOnlyCollection<Sentry.Breadcrumb> Breadcrumbs { get; }
public Sentry.SentryContexts Contexts { get; set; }
public string? Distribution { get; set; }
public string? Environment { get; set; }
public System.Collections.Generic.IReadOnlyDictionary<string, object?> Extra { get; }
public System.Collections.Generic.IReadOnlyList<string> Fingerprint { get; set; }
public Sentry.SentryLevel? Level { get; set; }
public string? Release { get; set; }
public Sentry.SentryRequest Request { get; set; }
public Sentry.SdkVersion Sdk { get; }
public Sentry.ISpan? Span { get; set; }
public System.Collections.Generic.IReadOnlyDictionary<string, string> Tags { get; }
public Sentry.ITransactionTracer? Transaction { get; set; }
public string? TransactionName { get; set; }
public Sentry.SentryUser User { get; set; }
public void AddAttachment(Sentry.SentryAttachment attachment) { }
public void AddAttachment(string filePath, Sentry.AttachmentType type = 0, string? contentType = null) { }
public void AddAttachment(byte[] data, string fileName, Sentry.AttachmentType type = 0, string? contentType = null) { }
public void AddAttachment(System.IO.Stream stream, string fileName, Sentry.AttachmentType type = 0, string? contentType = null) { }
public void AddBreadcrumb(Sentry.Breadcrumb breadcrumb) { }
public void AddBreadcrumb(Sentry.Breadcrumb breadcrumb, Sentry.SentryHint hint) { }
public void AddEventProcessor(Sentry.Extensibility.ISentryEventProcessor processor) { }
public void AddEventProcessor(System.Func<Sentry.SentryEvent, Sentry.SentryEvent> processor) { }
public void AddEventProcessors(System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryEventProcessor> processors) { }
public void AddExceptionProcessor(Sentry.Extensibility.ISentryEventExceptionProcessor processor) { }
public void AddExceptionProcessors(System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryEventExceptionProcessor> processors) { }
public void AddTransactionProcessor(Sentry.Extensibility.ISentryTransactionProcessor processor) { }
public void AddTransactionProcessor(System.Func<Sentry.SentryTransaction, Sentry.SentryTransaction?> processor) { }
public void AddTransactionProcessors(System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryTransactionProcessor> processors) { }
public void Apply(Sentry.IEventLike other) { }
public void Apply(Sentry.Scope other) { }
public void Apply(object state) { }
public void Clear() { }
public void ClearAttachments() { }
public void ClearBreadcrumbs() { }
public Sentry.Scope Clone() { }
public System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryEventProcessor> GetAllEventProcessors() { }
public System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryEventExceptionProcessor> GetAllExceptionProcessors() { }
public System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryTransactionProcessor> GetAllTransactionProcessors() { }
public void SetExtra(string key, object? value) { }
public void SetTag(string key, string value) { }
public void UnsetTag(string key) { }
}
public sealed class SdkVersion : Sentry.ISentryJsonSerializable
{
public SdkVersion() { }
public string? Name { get; set; }
public System.Collections.Generic.IEnumerable<Sentry.SentryPackage> Packages { get; }
public string? Version { get; set; }
public void AddIntegration(string integration) { }
public void AddPackage(string name, string version) { }
public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { }
public static Sentry.SdkVersion FromJson(System.Text.Json.JsonElement json) { }
}
[System.Diagnostics.DebuggerDisplay("{FileName}")]
public class SentryAttachment
{
public SentryAttachment(Sentry.AttachmentType type, Sentry.IAttachmentContent content, string fileName, string? contentType) { }
public Sentry.IAttachmentContent Content { get; }
public string? ContentType { get; }
public string FileName { get; }
public Sentry.AttachmentType Type { get; }
}
public class SentryCheckIn : Sentry.ISentryJsonSerializable
{
public SentryCheckIn(string monitorSlug, Sentry.CheckInStatus status, Sentry.SentryId? sentryId = default) { }
public System.TimeSpan? Duration { get; set; }
public string? Environment { get; set; }
public Sentry.SentryId Id { get; }
public string MonitorSlug { get; }
public string? Release { get; set; }
public Sentry.CheckInStatus Status { get; }
public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { }
}
public class SentryClient : Sentry.ISentryClient, System.IDisposable
{
public SentryClient(Sentry.SentryOptions options) { }
public bool IsEnabled { get; }
public Sentry.SentryId CaptureCheckIn(string monitorSlug, Sentry.CheckInStatus status, Sentry.SentryId? sentryId = default, System.TimeSpan? duration = default, Sentry.Scope? scope = null, System.Action<Sentry.SentryMonitorOptions>? configureMonitorOptions = null) { }
public bool CaptureEnvelope(Sentry.Protocol.Envelopes.Envelope envelope) { }
public Sentry.SentryId CaptureEvent(Sentry.SentryEvent? @event, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null) { }
public Sentry.SentryId CaptureFeedback(Sentry.SentryFeedback feedback, out Sentry.CaptureFeedbackResult result, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null) { }
public void CaptureSession(Sentry.SessionUpdate sessionUpdate) { }
public void CaptureTransaction(Sentry.SentryTransaction transaction) { }
public void CaptureTransaction(Sentry.SentryTransaction transaction, Sentry.Scope? scope, Sentry.SentryHint? hint) { }
public void Dispose() { }
public System.Threading.Tasks.Task FlushAsync(System.TimeSpan timeout) { }
}
public static class SentryClientExtensions
{
public static Sentry.SentryId CaptureException(this Sentry.ISentryClient client, System.Exception ex) { }
public static Sentry.SentryId CaptureFeedback(this Sentry.ISentryClient client, Sentry.SentryFeedback feedback, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null) { }
public static Sentry.SentryId CaptureFeedback(this Sentry.ISentryClient client, string message, string? contactEmail = null, string? name = null, string? replayId = null, string? url = null, Sentry.SentryId? associatedEventId = default, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null) { }
public static Sentry.SentryId CaptureMessage(this Sentry.ISentryClient client, string message, Sentry.SentryLevel level = 1) { }
public static void Flush(this Sentry.ISentryClient client) { }
public static void Flush(this Sentry.ISentryClient client, System.TimeSpan timeout) { }
public static System.Threading.Tasks.Task FlushAsync(this Sentry.ISentryClient client) { }
[System.Obsolete("WARNING: This method is meant for internal usage only")]
public static Sentry.SentryOptions? GetInternalSentryOptions(this Sentry.ISentryClient clientOrHub) { }
}
public static class SentryConstants
{
public const int DefaultMaxBreadcrumbs = 100;
public const string DisableSdkDsnValue = "";
public const string Platform = "csharp";
public const int ProtocolVersion = 7;
}
public sealed class SentryContexts : Sentry.ISentryJsonSerializable, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string, object>>, System.Collections.Generic.IDictionary<string, object>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, object>>, System.Collections.IEnumerable
{
public SentryContexts() { }
public Sentry.Protocol.App App { get; }
public Sentry.Protocol.Browser Browser { get; }
public int Count { get; }
public Sentry.Protocol.Device Device { get; }
public Sentry.SentryFeedback? Feedback { get; set; }
public Sentry.Protocol.Gpu Gpu { get; }
public bool IsReadOnly { get; }
public object this[string key] { get; set; }
public System.Collections.Generic.ICollection<string> Keys { get; }
public Sentry.Protocol.OperatingSystem OperatingSystem { get; }
public Sentry.Protocol.Response Response { get; }
public Sentry.Protocol.Runtime Runtime { get; }
public Sentry.Protocol.Trace Trace { get; }
public System.Collections.Generic.ICollection<object> Values { get; }
public void Add(System.Collections.Generic.KeyValuePair<string, object> item) { }
public void Add(string key, object value) { }
public void Clear() { }
public bool Contains(System.Collections.Generic.KeyValuePair<string, object> item) { }
public bool ContainsKey(string key) { }
public void CopyTo(System.Collections.Generic.KeyValuePair<string, object>[] array, int arrayIndex) { }
public System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, object>> GetEnumerator() { }
public bool Remove(System.Collections.Generic.KeyValuePair<string, object> item) { }
public bool Remove(string key) { }
public bool TryGetValue(string key, out object value) { }
public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { }
public static Sentry.SentryContexts FromJson(System.Text.Json.JsonElement json) { }
}
[System.Diagnostics.DebuggerDisplay("{GetType().Name,nq}: {EventId,nq}")]
public sealed class SentryEvent : Sentry.IEventLike, Sentry.IHasExtra, Sentry.IHasTags, Sentry.ISentryJsonSerializable
{
public SentryEvent() { }
public SentryEvent(System.Exception? exception) { }
public System.Collections.Generic.IReadOnlyCollection<Sentry.Breadcrumb> Breadcrumbs { get; }
public Sentry.SentryContexts Contexts { get; set; }
public System.Collections.Generic.List<Sentry.Protocol.DebugImage>? DebugImages { get; set; }
public string? Distribution { get; set; }
public string? Environment { get; set; }
public Sentry.SentryId EventId { get; }
public System.Exception? Exception { get; }
public System.Collections.Generic.IReadOnlyDictionary<string, object?> Extra { get; }
public System.Collections.Generic.IReadOnlyList<string> Fingerprint { get; set; }
public Sentry.SentryLevel? Level { get; set; }
public string? Logger { get; set; }
public Sentry.SentryMessage? Message { get; set; }
public System.Collections.Generic.IDictionary<string, string> Modules { get; }
public string? Platform { get; set; }
public string? Release { get; set; }
public Sentry.SentryRequest Request { get; set; }
public Sentry.SdkVersion Sdk { get; }
public System.Collections.Generic.IEnumerable<Sentry.Protocol.SentryException>? SentryExceptions { get; set; }
public System.Collections.Generic.IEnumerable<Sentry.SentryThread>? SentryThreads { get; set; }
public string? ServerName { get; set; }
public System.Collections.Generic.IReadOnlyDictionary<string, string> Tags { get; }
public System.DateTimeOffset Timestamp { get; }
public string? TransactionName { get; set; }
public Sentry.SentryUser User { get; set; }
public void AddBreadcrumb(Sentry.Breadcrumb breadcrumb) { }
public void SetExtra(string key, object? value) { }
public void SetTag(string key, string value) { }
public void UnsetTag(string key) { }
public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { }
public static Sentry.SentryEvent FromJson(System.Text.Json.JsonElement json) { }
}
public sealed class SentryFeedback : Sentry.ISentryJsonSerializable
{
public SentryFeedback(string message, string? contactEmail = null, string? name = null, string? replayId = null, string? url = null, Sentry.SentryId? associatedEventId = default) { }
public Sentry.SentryId? AssociatedEventId { get; set; }
public string? ContactEmail { get; set; }
public string Message { get; set; }
public string? Name { get; set; }
public string? ReplayId { get; set; }
public string? Url { get; set; }
public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { }
public static Sentry.SentryFeedback FromJson(System.Text.Json.JsonElement json) { }
}
public class SentryGraphQLHttpMessageHandler : Sentry.SentryMessageHandler
{
public SentryGraphQLHttpMessageHandler(System.Net.Http.HttpMessageHandler? innerHandler = null, Sentry.IHub? hub = null) { }
protected override void HandleResponse(System.Net.Http.HttpResponseMessage response, Sentry.ISpan? span, string method, string url) { }
protected override Sentry.ISpan? ProcessRequest(System.Net.Http.HttpRequestMessage request, string method, string url) { }
}
public class SentryHint
{
public SentryHint() { }
public SentryHint(string key, object? value) { }
public System.Collections.Generic.ICollection<Sentry.SentryAttachment> Attachments { get; }
public System.Collections.Generic.IDictionary<string, object?> Items { get; }
public void AddAttachment(string filePath, Sentry.AttachmentType type = 0, string? contentType = null) { }
public void AddAttachment(byte[] data, string fileName, Sentry.AttachmentType type = 0, string? contentType = null) { }
public static Sentry.SentryHint WithAttachments(params Sentry.SentryAttachment[] attachments) { }
public static Sentry.SentryHint WithAttachments(System.Collections.Generic.IEnumerable<Sentry.SentryAttachment> attachments) { }
}
public class SentryHttpMessageHandler : Sentry.SentryMessageHandler
{
public SentryHttpMessageHandler() { }
public SentryHttpMessageHandler(Sentry.IHub hub) { }
public SentryHttpMessageHandler(System.Net.Http.HttpMessageHandler innerHandler) { }
public SentryHttpMessageHandler(System.Net.Http.HttpMessageHandler innerHandler, Sentry.IHub hub) { }
protected override void HandleResponse(System.Net.Http.HttpResponseMessage response, Sentry.ISpan? span, string method, string url) { }
protected override Sentry.ISpan? ProcessRequest(System.Net.Http.HttpRequestMessage request, string method, string url) { }
}
public readonly struct SentryId : Sentry.ISentryJsonSerializable, System.IEquatable<Sentry.SentryId>
{
public static readonly Sentry.SentryId Empty;
public SentryId(System.Guid guid) { }
public bool Equals(Sentry.SentryId other) { }
public override bool Equals(object? obj) { }
public override int GetHashCode() { }
public override string ToString() { }
public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { }
public static Sentry.SentryId Create() { }
public static Sentry.SentryId FromJson(System.Text.Json.JsonElement json) { }
public static Sentry.SentryId Parse(string value) { }
public static System.Guid op_Implicit(Sentry.SentryId sentryId) { }
public static Sentry.SentryId op_Implicit(System.Guid guid) { }
public static bool operator !=(Sentry.SentryId left, Sentry.SentryId right) { }
public static bool operator ==(Sentry.SentryId left, Sentry.SentryId right) { }
}
public enum SentryLevel : short
{
[System.Runtime.Serialization.EnumMember(Value="debug")]
Debug = 0,
[System.Runtime.Serialization.EnumMember(Value="info")]
Info = 1,
[System.Runtime.Serialization.EnumMember(Value="warning")]
Warning = 2,
[System.Runtime.Serialization.EnumMember(Value="error")]
Error = 3,
[System.Runtime.Serialization.EnumMember(Value="fatal")]
Fatal = 4,
}
[System.Diagnostics.DebuggerDisplay("SentryLog \\{ Level = {Level}, Message = \'{Message}\' \\}")]
[System.Runtime.CompilerServices.RequiredMember]
public sealed class SentryLog
{
[System.Runtime.CompilerServices.RequiredMember]
public Sentry.SentryLogLevel Level { get; init; }
[System.Runtime.CompilerServices.RequiredMember]
public string Message { get; init; }
public System.Collections.Immutable.ImmutableArray<System.Collections.Generic.KeyValuePair<string, object>> Parameters { get; init; }
public Sentry.SpanId? ParentSpanId { get; init; }
public string? Template { get; init; }
[System.Runtime.CompilerServices.RequiredMember]
public System.DateTimeOffset Timestamp { get; init; }
[System.Runtime.CompilerServices.RequiredMember]
public Sentry.SentryId TraceId { get; init; }
public void SetAttribute(string key, object value) { }
public bool TryGetAttribute(string key, [System.Diagnostics.CodeAnalysis.NotNullWhen(true)] out object? value) { }
}
public enum SentryLogLevel
{
Trace = 1,
Debug = 5,
Info = 9,
Warning = 13,
Error = 17,
Fatal = 21,
}
public sealed class SentryMessage : Sentry.ISentryJsonSerializable
{
public SentryMessage() { }
public string? Formatted { get; set; }
public string? Message { get; set; }
public System.Collections.Generic.IEnumerable<object>? Params { get; set; }
public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { }
public static Sentry.SentryMessage FromJson(System.Text.Json.JsonElement json) { }
public static Sentry.SentryMessage op_Implicit(string? message) { }
}
public abstract class SentryMessageHandler : System.Net.Http.DelegatingHandler
{
protected SentryMessageHandler() { }
protected SentryMessageHandler(Sentry.IHub hub) { }
protected SentryMessageHandler(System.Net.Http.HttpMessageHandler innerHandler) { }
protected SentryMessageHandler(System.Net.Http.HttpMessageHandler innerHandler, Sentry.IHub hub) { }
protected abstract void HandleResponse(System.Net.Http.HttpResponseMessage response, Sentry.ISpan? span, string method, string url);
protected abstract Sentry.ISpan? ProcessRequest(System.Net.Http.HttpRequestMessage request, string method, string url);
protected override System.Net.Http.HttpResponseMessage Send(System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) { }
protected override System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> SendAsync(System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) { }
}
public enum SentryMonitorInterval
{
Year = 0,
Month = 1,
Week = 2,
Day = 3,
Hour = 4,
Minute = 5,
}
public class SentryMonitorOptions : Sentry.ISentryJsonSerializable
{
public System.TimeSpan? CheckInMargin { get; set; }
public int? FailureIssueThreshold { get; set; }
public System.TimeSpan? MaxRuntime { get; set; }
public string? Owner { get; set; }
public int? RecoveryThreshold { get; set; }
public string? TimeZone { get; set; }
public void Interval(string crontab) { }
public void Interval(int interval, Sentry.SentryMonitorInterval unit) { }
public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { }
}
public class SentryOptions
{
public SentryOptions() { }
[System.CLSCompliant(false)]
public System.Func<string, System.Reflection.PortableExecutable.PEReader?>? AssemblyReader { get; set; }
public bool AttachStacktrace { get; set; }
public bool AutoSessionTracking { get; set; }
public System.TimeSpan AutoSessionTrackingInterval { get; set; }
public Sentry.Extensibility.IBackgroundWorker? BackgroundWorker { get; set; }
public string? CacheDirectoryPath { get; set; }
public bool CaptureFailedRequests { get; set; }
public System.Action<System.Net.Http.HttpClient>? ConfigureClient { get; set; }
public System.Func<bool>? CrashedLastRun { get; set; }
public System.Func<System.Net.Http.HttpMessageHandler>? CreateHttpMessageHandler { get; set; }
public bool Debug { get; set; }
public System.Net.DecompressionMethods DecompressionMethods { get; set; }
public Sentry.DeduplicateMode DeduplicateMode { get; set; }
public System.Collections.Generic.Dictionary<string, string> DefaultTags { get; }
public Sentry.StartupTimeDetectionMode DetectStartupTime { get; set; }
public Sentry.SentryLevel DiagnosticLevel { get; set; }
public Sentry.Extensibility.IDiagnosticLogger? DiagnosticLogger { get; set; }
public bool DisableFileWrite { get; set; }
public bool DisableSentryHttpMessageHandler { get; set; }
public string? Distribution { get; set; }
public string? Dsn { get; set; }
public bool EnableBackpressureHandling { get; set; }
public bool EnableScopeSync { get; set; }
public bool EnableSpotlight { get; set; }
public string? Environment { get; set; }
public Sentry.SentryOptions.SentryExperimentalOptions Experimental { get; set; }
public System.Collections.Generic.IList<Sentry.HttpStatusCodeRange> FailedRequestStatusCodes { get; set; }
public System.Collections.Generic.IList<Sentry.StringOrRegex> FailedRequestTargets { get; set; }
public System.TimeSpan FlushTimeout { get; set; }
public System.Net.IWebProxy? HttpProxy { get; set; }
public System.TimeSpan InitCacheFlushTimeout { get; set; }
public bool IsEnvironmentUser { get; set; }
public bool IsGlobalModeEnabled { get; set; }
public bool JsonPreserveReferences { get; set; }
public long MaxAttachmentSize { get; set; }
public int MaxBreadcrumbs { get; set; }
public int MaxCacheItems { get; set; }
public int MaxQueueItems { get; set; }
public Sentry.Extensibility.INetworkStatusListener? NetworkStatusListener { get; set; }
public double? ProfilesSampleRate { get; set; }
public bool PropagateTraceparent { get; set; }
public string? Release { get; set; }
public Sentry.ReportAssembliesMode ReportAssembliesMode { get; set; }
public bool RequestBodyCompressionBuffered { get; set; }
public System.IO.Compression.CompressionLevel RequestBodyCompressionLevel { get; set; }
public float? SampleRate { get; set; }
public Sentry.IScopeObserver? ScopeObserver { get; set; }
public bool SendClientReports { get; set; }
public bool SendDefaultPii { get; set; }
public Sentry.ISentryScopeStateProcessor SentryScopeStateProcessor { get; set; }
public string? ServerName { get; set; }
public System.TimeSpan ShutdownTimeout { get; set; }
public string SpotlightUrl { get; set; }
public Sentry.StackTraceMode StackTraceMode { get; set; }
public System.Collections.Generic.IList<Sentry.StringOrRegex> TagFilters { get; set; }
public System.Collections.Generic.IList<Sentry.StringOrRegex> TracePropagationTargets { get; set; }
public double? TracesSampleRate { get; set; }
public System.Func<Sentry.TransactionSamplingContext, double?>? TracesSampler { get; set; }
public Sentry.Extensibility.ITransport? Transport { get; set; }
public bool UseAsyncFileIO { get; set; }
public void AddEventProcessor(Sentry.Extensibility.ISentryEventProcessor processor) { }
public void AddEventProcessorProvider(System.Func<System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryEventProcessor>> processorProvider) { }
public void AddEventProcessors(System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryEventProcessor> processors) { }
public void AddExceptionFilter(Sentry.Extensibility.IExceptionFilter exceptionFilter) { }
public void AddExceptionFilterForType<TException>()
where TException : System.Exception { }
public void AddExceptionProcessor(Sentry.Extensibility.ISentryEventExceptionProcessor processor) { }
public void AddExceptionProcessorProvider(System.Func<System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryEventExceptionProcessor>> processorProvider) { }
public void AddExceptionProcessors(System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryEventExceptionProcessor> processors) { }
public void AddInAppExclude(string prefix) { }
public void AddInAppExclude(System.Text.RegularExpressions.Regex regex) { }
public void AddInAppExcludeRegex(string pattern) { }
public void AddInAppInclude(string prefix) { }
public void AddInAppInclude(System.Text.RegularExpressions.Regex regex) { }
public void AddInAppIncludeRegex(string pattern) { }
public void AddIntegration(Sentry.Integrations.ISdkIntegration integration) { }
public void AddJsonConverter(System.Text.Json.Serialization.JsonConverter converter) { }
public void AddJsonSerializerContext<T>(System.Func<System.Text.Json.JsonSerializerOptions, T> contextBuilder)
where T : System.Text.Json.Serialization.JsonSerializerContext { }
public void AddTransactionProcessor(Sentry.Extensibility.ISentryTransactionProcessor processor) { }
public void AddTransactionProcessorProvider(System.Func<System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryTransactionProcessor>> processorProvider) { }
public void AddTransactionProcessors(System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryTransactionProcessor> processors) { }
public void ApplyDefaultTags(Sentry.IHasTags hasTags) { }
public void DisableAppDomainProcessExitFlush() { }
public void DisableAppDomainUnhandledExceptionCapture() { }
public void DisableDiagnosticSourceIntegration() { }
public void DisableDuplicateEventDetection() { }
public void DisableSystemDiagnosticsMetricsIntegration() { }
public void DisableUnobservedTaskExceptionCapture() { }
public void DisableWinUiUnhandledExceptionIntegration() { }
[System.Diagnostics.CodeAnalysis.Experimental("SENTRY0001")]
public void EnableHeapDumps(Sentry.HeapDumpTrigger trigger, Sentry.Debouncer? debouncer = null, Sentry.SentryLevel level = 2) { }
[System.Diagnostics.CodeAnalysis.Experimental("SENTRY0001")]
public void EnableHeapDumps(short memoryPercentageThreshold, Sentry.Debouncer? debouncer = null, Sentry.SentryLevel level = 2) { }
public System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryEventProcessor> GetAllEventProcessors() { }
public System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryEventExceptionProcessor> GetAllExceptionProcessors() { }
public System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryTransactionProcessor> GetAllTransactionProcessors() { }
public void RemoveEventProcessor<TProcessor>()
where TProcessor : Sentry.Extensibility.ISentryEventProcessor { }
public void RemoveExceptionFilter<TFilter>()
where TFilter : Sentry.Extensibility.IExceptionFilter { }
public void RemoveIntegration<TIntegration>()
where TIntegration : Sentry.Integrations.ISdkIntegration { }
public void RemoveTransactionProcessor<TProcessor>()
where TProcessor : Sentry.Extensibility.ISentryTransactionProcessor { }
public void SetBeforeBreadcrumb(System.Func<Sentry.Breadcrumb, Sentry.Breadcrumb?> beforeBreadcrumb) { }
public void SetBeforeBreadcrumb(System.Func<Sentry.Breadcrumb, Sentry.SentryHint, Sentry.Breadcrumb?> beforeBreadcrumb) { }
public void SetBeforeSend(System.Func<Sentry.SentryEvent, Sentry.SentryEvent?> beforeSend) { }
public void SetBeforeSend(System.Func<Sentry.SentryEvent, Sentry.SentryHint, Sentry.SentryEvent?> beforeSend) { }
public void SetBeforeSendTransaction(System.Func<Sentry.SentryTransaction, Sentry.SentryTransaction?> beforeSendTransaction) { }
public void SetBeforeSendTransaction(System.Func<Sentry.SentryTransaction, Sentry.SentryHint, Sentry.SentryTransaction?> beforeSendTransaction) { }
public Sentry.SentryOptions UseStackTraceFactory(Sentry.Extensibility.ISentryStackTraceFactory sentryStackTraceFactory) { }
public class SentryExperimentalOptions
{
public bool EnableLogs { get; set; }
public void SetBeforeSendLog(System.Func<Sentry.SentryLog, Sentry.SentryLog?> beforeSendLog) { }
}
}
public sealed class SentryPackage : Sentry.ISentryJsonSerializable
{
public SentryPackage(string name, string version) { }
public string Name { get; }
public string Version { get; }
public override bool Equals(object? obj) { }
public override int GetHashCode() { }
public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { }
public static Sentry.SentryPackage FromJson(System.Text.Json.JsonElement json) { }
}
public sealed class SentryRequest : Sentry.ISentryJsonSerializable
{
public SentryRequest() { }
public string? ApiTarget { get; set; }
public string? Cookies { get; set; }
public object? Data { get; set; }
public System.Collections.Generic.IDictionary<string, string> Env { get; }
public System.Collections.Generic.IDictionary<string, string> Headers { get; }
public string? Method { get; set; }
public System.Collections.Generic.IDictionary<string, string> Other { get; }
public string? QueryString { get; set; }
public string? Url { get; set; }
public Sentry.SentryRequest Clone() { }
public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { }
public static Sentry.SentryRequest FromJson(System.Text.Json.JsonElement json) { }
}
public static class SentrySdk
{
public static bool IsEnabled { get; }
public static bool IsSessionActive { get; }
public static Sentry.SentryId LastEventId { get; }
public static Sentry.SentryStructuredLogger Logger { get; }
public static void AddBreadcrumb(Sentry.Breadcrumb breadcrumb, Sentry.SentryHint? hint = null) { }
public static void AddBreadcrumb(string message, string? category = null, string? type = null, System.Collections.Generic.IDictionary<string, string>? data = null, Sentry.BreadcrumbLevel level = 0) { }
public static void AddBreadcrumb(Sentry.Infrastructure.ISystemClock? clock, string message, string? category = null, string? type = null, System.Collections.Generic.IDictionary<string, string>? data = null, Sentry.BreadcrumbLevel level = 0) { }
public static void BindClient(Sentry.ISentryClient client) { }
public static void BindException(System.Exception exception, Sentry.ISpan span) { }
public static Sentry.SentryId CaptureCheckIn(string monitorSlug, Sentry.CheckInStatus status, Sentry.SentryId? sentryId = default, System.TimeSpan? duration = default, Sentry.Scope? scope = null, System.Action<Sentry.SentryMonitorOptions>? configureMonitorOptions = null) { }
public static bool CaptureEnvelope(Sentry.Protocol.Envelopes.Envelope envelope) { }
public static Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, System.Action<Sentry.Scope> configureScope) { }
public static Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null) { }
public static Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.SentryHint? hint, System.Action<Sentry.Scope> configureScope) { }
public static Sentry.SentryId CaptureException(System.Exception exception) { }
public static Sentry.SentryId CaptureException(System.Exception exception, System.Action<Sentry.Scope> configureScope) { }
public static Sentry.SentryId CaptureFeedback(Sentry.SentryFeedback feedback, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null) { }
public static Sentry.SentryId CaptureFeedback(Sentry.SentryFeedback feedback, System.Action<Sentry.Scope> configureScope, Sentry.SentryHint? hint = null) { }
public static Sentry.SentryId CaptureFeedback(Sentry.SentryFeedback feedback, out Sentry.CaptureFeedbackResult result, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null) { }
public static Sentry.SentryId CaptureFeedback(Sentry.SentryFeedback feedback, out Sentry.CaptureFeedbackResult result, System.Action<Sentry.Scope> configureScope, Sentry.SentryHint? hint = null) { }
public static Sentry.SentryId CaptureFeedback(string message, string? contactEmail = null, string? name = null, string? replayId = null, string? url = null, Sentry.SentryId? associatedEventId = default, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null) { }
public static Sentry.SentryId CaptureMessage(string message, Sentry.SentryLevel level = 1) { }
public static Sentry.SentryId CaptureMessage(string message, System.Action<Sentry.Scope> configureScope, Sentry.SentryLevel level = 1) { }
public static void CaptureSession(Sentry.SessionUpdate sessionUpdate) { }
public static void CaptureTransaction(Sentry.SentryTransaction transaction) { }
public static void CaptureTransaction(Sentry.SentryTransaction transaction, Sentry.Scope? scope, Sentry.SentryHint? hint) { }
[System.Obsolete("WARNING: This method deliberately causes a crash, and should not be used in a rea" +
"l application.")]
public static void CauseCrash(Sentry.CrashType crashType) { }
public static void Close() { }
public static void ConfigureScope(System.Action<Sentry.Scope> configureScope) { }
public static void ConfigureScope<TArg>(System.Action<Sentry.Scope, TArg> configureScope, TArg arg) { }
public static System.Threading.Tasks.Task ConfigureScopeAsync(System.Func<Sentry.Scope, System.Threading.Tasks.Task> configureScope) { }
public static System.Threading.Tasks.Task ConfigureScopeAsync<TArg>(System.Func<Sentry.Scope, TArg, System.Threading.Tasks.Task> configureScope, TArg arg) { }
public static Sentry.TransactionContext ContinueTrace(Sentry.SentryTraceHeader? traceHeader, Sentry.BaggageHeader? baggageHeader, string? name = null, string? operation = null) { }
public static Sentry.TransactionContext ContinueTrace(string? traceHeader, string? baggageHeader, string? name = null, string? operation = null) { }
public static void EndSession(Sentry.SessionEndStatus status = 0) { }
public static void Flush() { }
public static void Flush(System.TimeSpan timeout) { }
public static System.Threading.Tasks.Task FlushAsync() { }
public static System.Threading.Tasks.Task FlushAsync(System.TimeSpan timeout) { }
public static Sentry.BaggageHeader? GetBaggage() { }
public static Sentry.ISpan? GetSpan() { }
public static Sentry.SentryTraceHeader? GetTraceHeader() { }
public static Sentry.W3CTraceparentHeader? GetTraceparentHeader() { }
public static Sentry.ITransactionTracer? GetTransaction() { }
public static System.IDisposable Init() { }
public static System.IDisposable Init(Sentry.SentryOptions options) { }
public static System.IDisposable Init(System.Action<Sentry.SentryOptions>? configureOptions) { }
public static System.IDisposable Init(string? dsn) { }
public static void PauseSession() { }
public static System.IDisposable PushScope() { }
public static System.IDisposable PushScope<TState>(TState state) { }
public static void ResumeSession() { }
public static void SetTag(string key, string value) { }
public static void StartSession() { }
public static Sentry.ISpan StartSpan(string operation, string description) { }
public static Sentry.ITransactionTracer StartTransaction(Sentry.ITransactionContext context) { }
public static Sentry.ITransactionTracer StartTransaction(Sentry.ITransactionContext context, System.Collections.Generic.IReadOnlyDictionary<string, object?> customSamplingContext) { }
public static Sentry.ITransactionTracer StartTransaction(string name, string operation) { }
public static Sentry.ITransactionTracer StartTransaction(string name, string operation, Sentry.SentryTraceHeader traceHeader) { }
public static Sentry.ITransactionTracer StartTransaction(string name, string operation, string? description) { }
public static void UnsetTag(string key) { }
}
public class SentrySession : Sentry.ISentrySession
{
public SentrySession(string? distinctId, string release, string? environment) { }
public string? DistinctId { get; }
public string? Environment { get; }
public int ErrorCount { get; }
public Sentry.SentryId Id { get; }
public string? IpAddress { get; }
public string Release { get; }
public System.DateTimeOffset StartTimestamp { get; }
public string? UserAgent { get; }
public void ReportError() { }
}
public class SentrySpan : Sentry.IHasData, Sentry.IHasExtra, Sentry.IHasTags, Sentry.ISentryJsonSerializable, Sentry.ISpanData, Sentry.Protocol.ITraceContext
{
public SentrySpan(Sentry.ISpan tracer) { }
public SentrySpan(Sentry.SpanId? parentSpanId, string operation) { }
public System.Collections.Generic.IReadOnlyDictionary<string, object?> Data { get; }
public string? Description { get; set; }
public System.DateTimeOffset? EndTimestamp { get; }
[System.Obsolete("Use Data")]
public System.Collections.Generic.IReadOnlyDictionary<string, object?> Extra { get; }
public bool IsFinished { get; }
public bool? IsSampled { get; }
public System.Collections.Generic.IReadOnlyDictionary<string, Sentry.Protocol.Measurement> Measurements { get; }
public string Operation { get; set; }
public string? Origin { get; }
public Sentry.SpanId? ParentSpanId { get; }
public Sentry.SpanId SpanId { get; }
public System.DateTimeOffset StartTimestamp { get; }
public Sentry.SpanStatus? Status { get; set; }
public System.Collections.Generic.IReadOnlyDictionary<string, string> Tags { get; }
public Sentry.SentryId TraceId { get; }
public Sentry.SentryTraceHeader GetTraceHeader() { }
public void SetData(string key, object? value) { }
[System.Obsolete("Use SetData")]
public void SetExtra(string key, object? value) { }
public void SetMeasurement(string name, Sentry.Protocol.Measurement measurement) { }
public void SetTag(string key, string value) { }
public void UnsetTag(string key) { }
public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { }
public static Sentry.SentrySpan FromJson(System.Text.Json.JsonElement json) { }
}
[System.Diagnostics.DebuggerDisplay("{Function}")]
public sealed class SentryStackFrame : Sentry.ISentryJsonSerializable
{
public SentryStackFrame() { }
public string? AbsolutePath { get; set; }
public string? AddressMode { get; set; }
public int? ColumnNumber { get; set; }
public string? ContextLine { get; set; }
public string? FileName { get; set; }
public System.Collections.Generic.IList<int> FramesOmitted { get; }
public string? Function { get; set; }
public long? FunctionId { get; set; }
public long? ImageAddress { get; set; }
public bool? InApp { get; set; }
public long? InstructionAddress { get; set; }
public int? LineNumber { get; set; }
public string? Module { get; set; }
public string? Package { get; set; }
public string? Platform { get; set; }
public System.Collections.Generic.IList<string> PostContext { get; }
public System.Collections.Generic.IList<string> PreContext { get; }
public long? SymbolAddress { get; set; }
public System.Collections.Generic.IDictionary<string, string> Vars { get; }
public void ConfigureAppFrame(Sentry.SentryOptions options) { }
public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { }
public static Sentry.SentryStackFrame FromJson(System.Text.Json.JsonElement json) { }
}
public class SentryStackTrace : Sentry.ISentryJsonSerializable
{
public SentryStackTrace() { }
public Sentry.InstructionAddressAdjustment? AddressAdjustment { get; set; }
public System.Collections.Generic.IList<Sentry.SentryStackFrame> Frames { get; set; }
public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { }
public static Sentry.SentryStackTrace FromJson(System.Text.Json.JsonElement json) { }
}
public abstract class SentryStructuredLogger
{
protected abstract void CaptureLog(Sentry.SentryLog log);
protected abstract void Flush();
public void LogDebug(string template, params object[] parameters) { }
public void LogDebug(System.Action<Sentry.SentryLog> configureLog, string template, params object[] parameters) { }
public void LogError(string template, params object[] parameters) { }
public void LogError(System.Action<Sentry.SentryLog> configureLog, string template, params object[] parameters) { }
public void LogFatal(string template, params object[] parameters) { }
public void LogFatal(System.Action<Sentry.SentryLog> configureLog, string template, params object[] parameters) { }
public void LogInfo(string template, params object[] parameters) { }
public void LogInfo(System.Action<Sentry.SentryLog> configureLog, string template, params object[] parameters) { }
public void LogTrace(string template, params object[] parameters) { }
public void LogTrace(System.Action<Sentry.SentryLog> configureLog, string template, params object[] parameters) { }
public void LogWarning(string template, params object[] parameters) { }
public void LogWarning(System.Action<Sentry.SentryLog> configureLog, string template, params object[] parameters) { }
}
public sealed class SentryThread : Sentry.ISentryJsonSerializable
{
public SentryThread() { }
public bool? Crashed { get; set; }