提交 24ebbc52 编写于 作者: C Cyrus Najmabadi

Move code down

上级 c6e9cc2e
......@@ -29,9 +29,6 @@ public CSharpPopulateSwitchExpressionCodeFixProvider()
{
}
protected override ICollection<ISymbol> GetMissingEnumMembers(ISwitchExpressionOperation switchOperation)
=> PopulateSwitchExpressionHelpers.GetMissingEnumMembers(switchOperation);
protected override SwitchExpressionArmSyntax CreateDefaulSwitchArm(SyntaxGenerator generator, Compilation compilation)
=> SwitchExpressionArm(DiscardPattern(), Exception(generator, compilation));
......
......@@ -42,7 +42,7 @@ protected AbstractPopulateSwitchExpressionCodeFixProvider()
protected sealed override ITypeSymbol GetSwitchType(ISwitchExpressionOperation switchExpression)
=> switchExpression.Value.Type;
protected override ICollection<ISymbol> GetMissingEnumMembers(ISwitchExpressionOperation switchOperation)
protected sealed override ICollection<ISymbol> GetMissingEnumMembers(ISwitchExpressionOperation switchOperation)
=> PopulateSwitchExpressionHelpers.GetMissingEnumMembers(switchOperation);
protected static TExpressionSyntax Exception(SyntaxGenerator generator, Compilation compilation)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册