1 write to Scope
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\ActivitySourceFactory.cs (1)
46Scope = this,
8 references to Scope
Microsoft.Extensions.Diagnostics (1)
Tracing\DefaultActivitySourceFactory.cs (1)
52Debug.Assert(ReferenceEquals(options.Scope, this));
System.Diagnostics.DiagnosticSource (7)
System\Diagnostics\ActivitySource.cs (1)
46public ActivitySource(ActivitySourceOptions options) : this((options ?? throw new ArgumentNullException(nameof(options))).Name, options.Version, options.Tags, options.Scope, options.TelemetrySchemaUrl) {}
System\Diagnostics\ActivitySourceFactory.cs (6)
24/// <exception cref="InvalidOperationException"><see cref="ActivitySourceOptions.Scope"/> is set to a value other than this factory.</exception> 27/// <see cref="ActivitySourceOptions"/> copy with <see cref="ActivitySourceOptions.Scope"/> bound to this factory 36if (options.Scope is not null && !ReferenceEquals(options.Scope, this)) 74/// <see cref="ActivitySourceOptions.Scope"/> is guaranteed to be set to this factory.</param> 79/// <see cref="ActivitySourceOptions.Scope"/> property has been set to this factory instance; derived classes