4 references to WhenStronglyTyped
Microsoft.CodeAnalysis.CodeStyle (4)
src\Analyzers\Core\Analyzers\ForEachCast\AbstractForEachCastDiagnosticAnalyzer.cs (2)
59
Contract.ThrowIfFalse(option.Value is ForEachExplicitCastInSourcePreference.Always or ForEachExplicitCastInSourcePreference.
WhenStronglyTyped
);
131
if (option.Value == ForEachExplicitCastInSourcePreference.
WhenStronglyTyped
&&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOptions2.cs (2)
300
KeyValuePairUtil.Create("when_strongly_typed", ForEachExplicitCastInSourcePreference.
WhenStronglyTyped
),
306
defaultValue: new CodeStyleOption2<ForEachExplicitCastInSourcePreference>(ForEachExplicitCastInSourcePreference.
WhenStronglyTyped
, NotificationOption2.Suggestion),