2 references to SupportsCollectionExpressions
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\AbstractCSharpUseCollectionExpressionDiagnosticAnalyzer.cs (1)
56if (!compilation.LanguageVersion().SupportsCollectionExpressions())
src\Analyzers\CSharp\Analyzers\UseCollectionInitializer\CSharpUseCollectionInitializerDiagnosticAnalyzer.cs (1)
47=> compilation.LanguageVersion().SupportsCollectionExpressions();