提交 ce8406da 编写于 作者: C Cyrus Najmabadi

Merge branch 'embeddedLanguages' into regexParsing4

......@@ -27,7 +27,7 @@ public EmbeddedDiagnostic(string message, TextSpan span)
}
public override bool Equals(object obj)
=> obj is EmbeddedDiagnostic rd && Equals(rd);
=> obj is EmbeddedDiagnostic diagnostic && Equals(diagnostic);
public bool Equals(EmbeddedDiagnostic other)
=> Message == other.Message &&
......
......@@ -43,8 +43,8 @@ protected EmbeddedSyntaxNode(TSyntaxKind kind)
Kind = kind;
}
public abstract int ChildCount { get; }
public abstract EmbeddedSyntaxNodeOrToken<TSyntaxKind, TNode> ChildAt(int index);
internal abstract int ChildCount { get; }
internal abstract EmbeddedSyntaxNodeOrToken<TSyntaxKind, TNode> ChildAt(int index);
public TextSpan GetSpan()
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册