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