-
-
Notifications
You must be signed in to change notification settings - Fork 203
/
ApiApprovalTests.Run.DotNet6_0.verified.txt
1740 lines (1740 loc) · 102 KB
/
ApiApprovalTests.Run.DotNet6_0.verified.txt
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
{
[System.Diagnostics.DebuggerDisplay("{FileName}")]
public class Attachment
{
public Attachment(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 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.IJsonSerializable
{
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="critical")]
Critical = 3,
}
public class ByteAttachmentContent : Sentry.IAttachmentContent
{
public ByteAttachmentContent(byte[] bytes) { }
public System.IO.Stream GetStream() { }
}
public static class Constants
{
public const int DefaultMaxBreadcrumbs = 100;
public const string DisableSdkDsnValue = "";
public const string Platform = "csharp";
public const int ProtocolVersion = 7;
}
public sealed class Contexts : Sentry.IJsonSerializable, 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 Contexts() { }
public Sentry.Protocol.App App { get; }
public Sentry.Protocol.Browser Browser { get; }
public int Count { get; }
public Sentry.Protocol.Device Device { get; }
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.Contexts FromJson(System.Text.Json.JsonElement json) { }
}
[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,
}
[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) { }
}
public class Hint
{
public Hint() { }
public Hint(string key, object? value) { }
public System.Collections.Generic.ICollection<Sentry.Attachment> Attachments { get; }
public System.Collections.Generic.IDictionary<string, object?> Items { get; }
public void AddAttachment(string filePath, Sentry.AttachmentType type = 0, string? contentType = null) { }
public static Sentry.Hint WithAttachments(params Sentry.Attachment[] attachments) { }
public static Sentry.Hint WithAttachments(System.Collections.Generic.IEnumerable<Sentry.Attachment> attachments) { }
}
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.Hint? 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 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.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.Contexts 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.Request Request { get; set; }
Sentry.SdkVersion Sdk { get; }
string? TransactionName { get; set; }
Sentry.User User { get; set; }
void AddBreadcrumb(Sentry.Breadcrumb breadcrumb);
}
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
{
Sentry.SentryId LastEventId { get; }
void BindException(System.Exception exception, Sentry.ISpanTracer span);
Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, System.Action<Sentry.Scope> configureScope);
Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.Hint? hint, System.Action<Sentry.Scope> configureScope);
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.ISpanTracer? GetSpan();
Sentry.SentryTraceHeader? GetTraceHeader();
void PauseSession();
void ResumeSession();
void StartSession();
Sentry.ITransactionTracer StartTransaction(Sentry.ITransactionContext context, System.Collections.Generic.IReadOnlyDictionary<string, object?> customSamplingContext);
}
public interface IJsonSerializable
{
void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger);
}
public interface IScopeObserver
{
void AddBreadcrumb(Sentry.Breadcrumb breadcrumb);
void SetExtra(string key, object? value);
void SetTag(string key, string value);
void SetUser(Sentry.User? user);
void UnsetTag(string key);
}
public interface ISentryClient
{
bool IsEnabled { get; }
Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.Scope? scope = null, Sentry.Hint? hint = null);
void CaptureSession(Sentry.SessionUpdate sessionUpdate);
void CaptureTransaction(Sentry.Transaction transaction);
void CaptureTransaction(Sentry.Transaction transaction, Sentry.Hint? hint);
void CaptureUserFeedback(Sentry.UserFeedback userFeedback);
System.Threading.Tasks.Task FlushAsync(System.TimeSpan timeout);
}
public interface ISentryScopeManager
{
void BindClient(Sentry.ISentryClient client);
void ConfigureScope(System.Action<Sentry.Scope> configureScope);
System.Threading.Tasks.Task ConfigureScopeAsync(System.Func<Sentry.Scope, System.Threading.Tasks.Task> configureScope);
System.IDisposable PushScope();
System.IDisposable PushScope<TState>(TState state);
}
public interface ISentryScopeStateProcessor
{
void Apply(Sentry.Scope scope, object state);
}
public interface ISentryUserFactory
{
Sentry.User? Create();
}
public interface ISession
{
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 ISpanData : 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 ISpanTracer : Sentry.IHasExtra, Sentry.IHasTags, Sentry.ISpanData, Sentry.Protocol.ITraceContext
{
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.ISpanTracer StartChild(string operation);
}
public interface ITransactionContext : Sentry.Protocol.ITraceContext
{
bool? IsParentSampled { get; }
string Name { get; }
Sentry.TransactionNameSource NameSource { get; }
}
public interface ITransactionData : Sentry.IEventLike, Sentry.IHasExtra, Sentry.IHasTags, Sentry.ISpanData, Sentry.ITransactionContext, Sentry.Protocol.ITraceContext
{
string? Platform { get; set; }
}
public interface ITransactionTracer : Sentry.IEventLike, Sentry.IHasExtra, Sentry.IHasTags, Sentry.ISpanData, Sentry.ISpanTracer, Sentry.ITransactionContext, Sentry.ITransactionData, Sentry.Protocol.ITraceContext
{
new bool? IsParentSampled { get; set; }
new string Name { get; set; }
System.Collections.Generic.IReadOnlyCollection<Sentry.ISpanTracer> Spans { get; }
Sentry.ISpanTracer? 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 sealed class Package : Sentry.IJsonSerializable
{
public Package(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.Package FromJson(System.Text.Json.JsonElement json) { }
}
public enum ReportAssembliesMode
{
None = 0,
Version = 1,
InformationalVersion = 2,
}
public sealed class Request : Sentry.IJsonSerializable
{
public Request() { }
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.Request Clone() { }
public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { }
public static Sentry.Request FromJson(System.Text.Json.JsonElement json) { }
}
public class Scope : Sentry.IEventLike, Sentry.IHasExtra, Sentry.IHasTags
{
public Scope(Sentry.SentryOptions? options) { }
public System.Collections.Generic.IReadOnlyCollection<Sentry.Attachment> Attachments { get; }
public System.Collections.Generic.IReadOnlyCollection<Sentry.Breadcrumb> Breadcrumbs { get; }
public Sentry.Contexts 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.Request Request { get; set; }
public Sentry.SdkVersion Sdk { get; }
public Sentry.ISpanTracer? 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.User User { get; set; }
public void AddAttachment(Sentry.Attachment attachment) { }
public void AddBreadcrumb(Sentry.Breadcrumb breadcrumb) { }
public void AddBreadcrumb(Sentry.Breadcrumb breadcrumb, Sentry.Hint hint) { }
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() { }
[System.Obsolete("Use the Span property instead. This method will be removed in a future release.")]
public Sentry.ISpanTracer? GetSpan() { }
public void SetExtra(string key, object? value) { }
public void SetTag(string key, string value) { }
public void UnsetTag(string key) { }
}
public static class ScopeExtensions
{
public static void AddAttachment(this Sentry.Scope scope, string filePath, Sentry.AttachmentType type = 0, string? contentType = null) { }
public static void AddAttachment(this Sentry.Scope scope, byte[] data, string fileName, Sentry.AttachmentType type = 0, string? contentType = null) { }
public static void AddAttachment(this Sentry.Scope scope, System.IO.Stream stream, string fileName, Sentry.AttachmentType type = 0, string? contentType = null) { }
public static void AddEventProcessor(this Sentry.Scope scope, Sentry.Extensibility.ISentryEventProcessor processor) { }
public static void AddEventProcessor(this Sentry.Scope scope, System.Func<Sentry.SentryEvent, Sentry.SentryEvent> processor) { }
public static void AddEventProcessors(this Sentry.Scope scope, System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryEventProcessor> processors) { }
public static void AddExceptionProcessor(this Sentry.Scope scope, Sentry.Extensibility.ISentryEventExceptionProcessor processor) { }
public static void AddExceptionProcessors(this Sentry.Scope scope, System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryEventExceptionProcessor> processors) { }
public static void AddTransactionProcessor(this Sentry.Scope scope, Sentry.Extensibility.ISentryTransactionProcessor processor) { }
public static void AddTransactionProcessor(this Sentry.Scope scope, System.Func<Sentry.Transaction, Sentry.Transaction?> processor) { }
public static void AddTransactionProcessors(this Sentry.Scope scope, System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryTransactionProcessor> processors) { }
public static System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryEventProcessor> GetAllEventProcessors(this Sentry.Scope scope) { }
public static System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryEventExceptionProcessor> GetAllExceptionProcessors(this Sentry.Scope scope) { }
public static System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryTransactionProcessor> GetAllTransactionProcessors(this Sentry.Scope scope) { }
}
public sealed class SdkVersion : Sentry.IJsonSerializable
{
public SdkVersion() { }
public string? Name { get; set; }
public System.Collections.Generic.IEnumerable<Sentry.Package> 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) { }
}
public class SentryClient : Sentry.ISentryClient, System.IDisposable
{
public SentryClient(Sentry.SentryOptions options) { }
public bool IsEnabled { get; }
public Sentry.SentryId CaptureEvent(Sentry.SentryEvent? @event, Sentry.Scope? scope = null, Sentry.Hint? hint = null) { }
public void CaptureSession(Sentry.SessionUpdate sessionUpdate) { }
public void CaptureTransaction(Sentry.Transaction transaction) { }
public void CaptureTransaction(Sentry.Transaction transaction, Sentry.Hint? hint) { }
public void CaptureUserFeedback(Sentry.UserFeedback userFeedback) { }
[System.Obsolete("Sentry client should not be explicitly disposed of. This method will be removed i" +
"n version 4.")]
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 CaptureMessage(this Sentry.ISentryClient client, string message, Sentry.SentryLevel level = 1) { }
public static void CaptureUserFeedback(this Sentry.ISentryClient client, Sentry.SentryId eventId, string email, string comments, string? name = null) { }
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.Diagnostics.DebuggerDisplay("{GetType().Name,nq}: {EventId,nq}")]
public sealed class SentryEvent : Sentry.IEventLike, Sentry.IHasExtra, Sentry.IHasTags, Sentry.IJsonSerializable
{
public SentryEvent() { }
public SentryEvent(System.Exception? exception) { }
public System.Collections.Generic.IReadOnlyCollection<Sentry.Breadcrumb> Breadcrumbs { get; }
public Sentry.Contexts 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.Request 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.User 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 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.ISpanTracer? span, string method, string url) { }
protected override Sentry.ISpanTracer? ProcessRequest(System.Net.Http.HttpRequestMessage request, string method, string url) { }
}
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.ISpanTracer? span, string method, string url) { }
protected override Sentry.ISpanTracer? ProcessRequest(System.Net.Http.HttpRequestMessage request, string method, string url) { }
}
public readonly struct SentryId : Sentry.IJsonSerializable, 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,
}
public sealed class SentryMessage : Sentry.IJsonSerializable
{
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.ISpanTracer? span, string method, string url);
protected abstract Sentry.ISpanTracer? 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 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; }
[System.Obsolete("This property will be removed in a future version. Use SetBeforeBreadcrumb instea" +
"d.")]
public System.Func<Sentry.Breadcrumb, Sentry.Breadcrumb?>? BeforeBreadcrumb { get; set; }
[System.Obsolete("This property will be removed in a future version. Use SetBeforeSend instead.")]
public System.Func<Sentry.SentryEvent, Sentry.SentryEvent?>? BeforeSend { get; set; }
[System.Obsolete("This property will be removed in a future version. Use SetBeforeSendTransaction i" +
"nstead.")]
public System.Func<Sentry.Transaction, Sentry.Transaction?>? BeforeSendTransaction { 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; }
[System.Obsolete("Use CreateHttpMessageHandler instead")]
public System.Func<System.Net.Http.HttpClientHandler>? CreateHttpClientHandler { 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 string? Distribution { get; set; }
public string? Dsn { get; set; }
public bool EnableScopeSync { get; set; }
public bool? EnableTracing { get; set; }
public string? Environment { get; set; }
public System.Collections.Generic.IList<Sentry.HttpStatusCodeRange> FailedRequestStatusCodes { get; set; }
public System.Collections.Generic.IList<Sentry.SubstringOrRegexPattern> 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; }
[System.Obsolete("This property is no longer used. It will be removed in a future version.")]
public bool KeepAggregateException { 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 string? Release { get; set; }
[System.Obsolete("Use ReportAssembliesMode instead", false)]
public bool ReportAssemblies { 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 Sentry.StackTraceMode StackTraceMode { get; set; }
public System.Collections.Generic.ICollection<Sentry.SubstringOrRegexPattern> TagFilters { get; set; }
public System.Collections.Generic.IList<Sentry.SubstringOrRegexPattern> 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 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 SetBeforeBreadcrumb(System.Func<Sentry.Breadcrumb, Sentry.Breadcrumb?> beforeBreadcrumb) { }
public void SetBeforeBreadcrumb(System.Func<Sentry.Breadcrumb, Sentry.Hint, Sentry.Breadcrumb?> beforeBreadcrumb) { }
public void SetBeforeSend(System.Func<Sentry.SentryEvent, Sentry.SentryEvent?> beforeSend) { }
public void SetBeforeSend(System.Func<Sentry.SentryEvent, Sentry.Hint, Sentry.SentryEvent?> beforeSend) { }
public void SetBeforeSendTransaction(System.Func<Sentry.Transaction, Sentry.Transaction?> beforeSendTransaction) { }
public void SetBeforeSendTransaction(System.Func<Sentry.Transaction, Sentry.Hint, Sentry.Transaction?> beforeSendTransaction) { }
}
public static class SentryOptionsExtensions
{
public static void AddEventProcessor(this Sentry.SentryOptions options, Sentry.Extensibility.ISentryEventProcessor processor) { }
public static void AddEventProcessorProvider(this Sentry.SentryOptions options, System.Func<System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryEventProcessor>> processorProvider) { }
public static void AddEventProcessors(this Sentry.SentryOptions options, System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryEventProcessor> processors) { }
public static void AddExceptionFilter(this Sentry.SentryOptions options, Sentry.Extensibility.IExceptionFilter exceptionFilter) { }
public static void AddExceptionFilterForType<TException>(this Sentry.SentryOptions options)
where TException : System.Exception { }
public static void AddExceptionProcessor(this Sentry.SentryOptions options, Sentry.Extensibility.ISentryEventExceptionProcessor processor) { }
public static void AddExceptionProcessorProvider(this Sentry.SentryOptions options, System.Func<System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryEventExceptionProcessor>> processorProvider) { }
public static void AddExceptionProcessors(this Sentry.SentryOptions options, System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryEventExceptionProcessor> processors) { }
public static void AddInAppExclude(this Sentry.SentryOptions options, string prefix) { }
public static void AddInAppInclude(this Sentry.SentryOptions options, string prefix) { }
public static void AddIntegration(this Sentry.SentryOptions options, Sentry.Integrations.ISdkIntegration integration) { }
public static void AddTransactionProcessor(this Sentry.SentryOptions options, Sentry.Extensibility.ISentryTransactionProcessor processor) { }
public static void AddTransactionProcessorProvider(this Sentry.SentryOptions options, System.Func<System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryTransactionProcessor>> processorProvider) { }
public static void AddTransactionProcessors(this Sentry.SentryOptions options, System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryTransactionProcessor> processors) { }
public static void ApplyDefaultTags(this Sentry.SentryOptions options, Sentry.IHasTags hasTags) { }
public static void DisableAppDomainProcessExitFlush(this Sentry.SentryOptions options) { }
public static void DisableAppDomainUnhandledExceptionCapture(this Sentry.SentryOptions options) { }
public static void DisableDiagnosticSourceIntegration(this Sentry.SentryOptions options) { }
public static void DisableDuplicateEventDetection(this Sentry.SentryOptions options) { }
[System.Obsolete("Method has been renamed to DisableUnobservedTaskExceptionCapture. Please update " +
"usage.")]
public static void DisableTaskUnobservedTaskExceptionCapture(this Sentry.SentryOptions options) { }
public static void DisableUnobservedTaskExceptionCapture(this Sentry.SentryOptions options) { }
public static void DisableWinUiUnhandledExceptionIntegration(this Sentry.SentryOptions options) { }
public static System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryEventProcessor> GetAllEventProcessors(this Sentry.SentryOptions options) { }
public static System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryEventExceptionProcessor> GetAllExceptionProcessors(this Sentry.SentryOptions options) { }
public static System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryTransactionProcessor> GetAllTransactionProcessors(this Sentry.SentryOptions options) { }
public static void RemoveEventProcessor<TProcessor>(this Sentry.SentryOptions options)
where TProcessor : Sentry.Extensibility.ISentryEventProcessor { }
public static void RemoveExceptionFilter<TFilter>(this Sentry.SentryOptions options)
where TFilter : Sentry.Extensibility.IExceptionFilter { }
public static void RemoveIntegration<TIntegration>(this Sentry.SentryOptions options)
where TIntegration : Sentry.Integrations.ISdkIntegration { }
public static void RemoveTransactionProcessor<TProcessor>(this Sentry.SentryOptions options)
where TProcessor : Sentry.Extensibility.ISentryTransactionProcessor { }
public static Sentry.SentryOptions UseStackTraceFactory(this Sentry.SentryOptions options, Sentry.Extensibility.ISentryStackTraceFactory sentryStackTraceFactory) { }
}
public static class SentrySdk
{
public static bool IsEnabled { get; }
public static Sentry.SentryId LastEventId { get; }
public static void AddBreadcrumb(Sentry.Breadcrumb breadcrumb, Sentry.Hint? 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.ISpanTracer span) { }
public static Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, System.Action<Sentry.Scope> configureScope) { }
public static Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.Hint? hint, System.Action<Sentry.Scope> configureScope) { }
public static Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.Scope? scope = null, Sentry.Hint? hint = null) { }
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 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.Transaction transaction) { }
public static void CaptureTransaction(Sentry.Transaction transaction, Sentry.Hint? hint) { }
public static void CaptureUserFeedback(Sentry.UserFeedback userFeedback) { }
public static void CaptureUserFeedback(Sentry.SentryId eventId, string email, string comments, string? name = null) { }
[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 System.Threading.Tasks.Task ConfigureScopeAsync(System.Func<Sentry.Scope, System.Threading.Tasks.Task> configureScope) { }
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.ISpanTracer? GetSpan() { }
public static Sentry.SentryTraceHeader? GetTraceHeader() { }
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 StartSession() { }
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 sealed class SentryStackFrame : Sentry.IJsonSerializable
{
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.IJsonSerializable
{
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 sealed class SentryThread : Sentry.IJsonSerializable
{
public SentryThread() { }
public bool? Crashed { get; set; }
public bool? Current { get; set; }
public int? Id { get; set; }
public string? Name { get; set; }
public Sentry.SentryStackTrace? Stacktrace { get; set; }
public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { }
public static Sentry.SentryThread FromJson(System.Text.Json.JsonElement json) { }
}
public class SentryTraceHeader
{
public SentryTraceHeader(Sentry.SentryId traceId, Sentry.SpanId spanSpanId, bool? isSampled) { }
public bool? IsSampled { get; }
public Sentry.SpanId SpanId { get; }
public Sentry.SentryId TraceId { get; }
public override string ToString() { }
public static Sentry.SentryTraceHeader Parse(string value) { }
}
public class Session : Sentry.ISession
{
public Session(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 enum SessionEndStatus
{
Exited = 0,
Crashed = 1,
Abnormal = 2,
}
public class SessionUpdate : Sentry.IJsonSerializable, Sentry.ISession
{
public SessionUpdate(Sentry.SessionUpdate sessionUpdate, bool isInitial) { }
public SessionUpdate(Sentry.SessionUpdate sessionUpdate, bool isInitial, Sentry.SessionEndStatus? endStatus) { }
public SessionUpdate(Sentry.ISession session, bool isInitial, System.DateTimeOffset timestamp, int sequenceNumber, Sentry.SessionEndStatus? endStatus) { }
public SessionUpdate(Sentry.SentryId id, string? distinctId, System.DateTimeOffset startTimestamp, string release, string? environment, string? ipAddress, string? userAgent, int errorCount, bool isInitial, System.DateTimeOffset timestamp, int sequenceNumber, Sentry.SessionEndStatus? endStatus) { }
public string? DistinctId { get; }
public System.TimeSpan Duration { get; }
public Sentry.SessionEndStatus? EndStatus { get; }
public string? Environment { get; }
public int ErrorCount { get; }
public Sentry.SentryId Id { get; }
public string? IpAddress { get; }
public bool IsInitial { get; }
public string Release { get; }
public int SequenceNumber { get; }
public System.DateTimeOffset StartTimestamp { get; }
public System.DateTimeOffset Timestamp { get; }
public string? UserAgent { get; }
public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { }
public static Sentry.SessionUpdate FromJson(System.Text.Json.JsonElement json) { }
}
public class Span : Sentry.IHasExtra, Sentry.IHasTags, Sentry.IJsonSerializable, Sentry.ISpanData, Sentry.Protocol.ITraceContext
{
public Span(Sentry.ISpanTracer tracer) { }
public Span(Sentry.SpanId? parentSpanId, string operation) { }
public string? Description { get; set; }
public System.DateTimeOffset? EndTimestamp { get; }
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 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 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.Span FromJson(System.Text.Json.JsonElement json) { }
}
public class SpanContext : Sentry.Protocol.ITraceContext
{
public SpanContext(string operation, Sentry.SpanId? spanId = default, Sentry.SpanId? parentSpanId = default, Sentry.SentryId? traceId = default, string? description = null, Sentry.SpanStatus? status = default, bool? isSampled = default) { }
public string? Description { get; }
public Sentry.Instrumenter Instrumenter { get; }
public bool? IsSampled { get; }
public string Operation { get; set; }
public Sentry.SpanId? ParentSpanId { get; }
public Sentry.SpanId SpanId { get; }
public Sentry.SpanStatus? Status { get; }
public Sentry.SentryId TraceId { get; }
}
public static class SpanDataExtensions
{
public static void SetMeasurement(this Sentry.ISpanData spanData, string name, double value, Sentry.MeasurementUnit unit = default) { }
public static void SetMeasurement(this Sentry.ISpanData spanData, string name, int value, Sentry.MeasurementUnit unit = default) { }
public static void SetMeasurement(this Sentry.ISpanData spanData, string name, long value, Sentry.MeasurementUnit unit = default) { }
[System.CLSCompliant(false)]
public static void SetMeasurement(this Sentry.ISpanData spanData, string name, ulong value, Sentry.MeasurementUnit unit = default) { }
}
public static class SpanExtensions
{
public static Sentry.ITransactionTracer GetTransaction(this Sentry.ISpanTracer span) { }
public static Sentry.ISpanTracer StartChild(this Sentry.ISpanTracer span, string operation, string? description) { }
}
public readonly struct SpanId : Sentry.IJsonSerializable, System.IEquatable<Sentry.SpanId>
{
public static readonly Sentry.SpanId Empty;
public SpanId(long value) { }
public SpanId(string value) { }
public bool Equals(Sentry.SpanId 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? _) { }
public static Sentry.SpanId Create() { }
public static Sentry.SpanId FromJson(System.Text.Json.JsonElement json) { }
public static Sentry.SpanId Parse(string value) { }
public static string op_Implicit(Sentry.SpanId id) { }
public static bool operator !=(Sentry.SpanId left, Sentry.SpanId right) { }
public static bool operator ==(Sentry.SpanId left, Sentry.SpanId right) { }
}
public enum SpanStatus
{
Ok = 0,
DeadlineExceeded = 1,
Unauthenticated = 2,
PermissionDenied = 3,
NotFound = 4,
ResourceExhausted = 5,
InvalidArgument = 6,
Unimplemented = 7,
Unavailable = 8,
InternalError = 9,
UnknownError = 10,
Cancelled = 11,
AlreadyExists = 12,
FailedPrecondition = 13,
Aborted = 14,
OutOfRange = 15,
DataLoss = 16,
}
public class SpanTracer : Sentry.IHasExtra, Sentry.IHasTags, Sentry.ISpanData, Sentry.ISpanTracer, Sentry.Protocol.ITraceContext
{
public SpanTracer(Sentry.IHub hub, Sentry.TransactionTracer transaction, Sentry.SpanId? parentSpanId, Sentry.SentryId traceId, string operation) { }
public string? Description { get; set; }
public System.DateTimeOffset? EndTimestamp { get; }
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 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 void Finish() { }
public void Finish(Sentry.SpanStatus status) { }
public void Finish(System.Exception exception) { }
public void Finish(System.Exception exception, Sentry.SpanStatus status) { }
public Sentry.SentryTraceHeader GetTraceHeader() { }
public void SetExtra(string key, object? value) { }
public void SetMeasurement(string name, Sentry.Protocol.Measurement measurement) { }
public void SetTag(string key, string value) { }
public Sentry.ISpanTracer StartChild(string operation) { }
public void UnsetTag(string key) { }
}
public enum StackTraceMode
{
Original = 0,
Enhanced = 1,
}
public enum StartupTimeDetectionMode
{
None = 0,
Fast = 1,
Best = 2,
}
public class StreamAttachmentContent : Sentry.IAttachmentContent
{
public StreamAttachmentContent(System.IO.Stream stream) { }
public System.IO.Stream GetStream() { }
}
[System.ComponentModel.TypeConverter(typeof(Sentry.SubstringOrRegexPatternTypeConverter))]
public class SubstringOrRegexPattern