3 references to WhenTypesLooselyMatch
Microsoft.CodeAnalysis.CodeStyle (3)
src\Analyzers\Core\Analyzers\UseCollectionInitializer\AbstractUseCollectionInitializerDiagnosticAnalyzer.cs (1)
234
var allowSemanticsChange = preferExpressionOption.Value == CollectionExpressionPreference.
WhenTypesLooselyMatch
;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOptions2.cs (1)
97
defaultValue: new CodeStyleOption2<CollectionExpressionPreference>(CollectionExpressionPreference.
WhenTypesLooselyMatch
, NotificationOption2.Suggestion),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CollectionExpressionPreference.cs (1)
50
case when_types_loosely_match: return new CodeStyleOption2<CollectionExpressionPreference>(CollectionExpressionPreference.
WhenTypesLooselyMatch
, notification);