提交 c372dbb2 编写于 作者: A Alireza Habibi

Fix typo

上级 bb66a528
......@@ -151,7 +151,7 @@ private static bool IsRelationalOperator(BinaryOperatorKind operatorKind)
}
/// <summary>
/// Changes the direction the operator is pointing to.
/// Changes the direction the operator is pointing at.
/// </summary>
/// <remarks>
/// Relational patterns only come in prefix form so we'll have to
......@@ -210,7 +210,7 @@ static bool CheckTargetExpression(IOperation operation, ref ExpressionSyntax? ta
static ExpressionSyntax? GetTargetExpression(IOperation operation)
{
// Unwrap explicit casts because the pattern will emit those anyways.
// For instance, `(int)o == 123` would be the same `o is 123`.
// For instance, `(int)o == 123` would be the same as `o is 123`.
if (operation is IConversionOperation { IsImplicit: false } op)
operation = op.Operand;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册