2 instantiations of ProducerConsumerOptions
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (2)
src\Dependencies\Threading\ProducerConsumerOptions.cs (2)
19
public static readonly ProducerConsumerOptions SingleReaderOptions =
new
() { SingleReader = true };
25
public static readonly ProducerConsumerOptions SingleReaderWriterOptions =
new
() { SingleReader = true, SingleWriter = true };
7 references to ProducerConsumerOptions
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (7)
src\Dependencies\Threading\ProducerConsumer.cs (5)
47
ProducerConsumerOptions
options,
65
ProducerConsumerOptions
options,
232
ProducerConsumerOptions
.SingleReaderOptions,
263
ProducerConsumerOptions
.SingleReaderOptions,
320
ProducerConsumerOptions
options,
src\Dependencies\Threading\ProducerConsumerOptions.cs (2)
19
public static readonly
ProducerConsumerOptions
SingleReaderOptions = new() { SingleReader = true };
25
public static readonly
ProducerConsumerOptions
SingleReaderWriterOptions = new() { SingleReader = true, SingleWriter = true };