提交 f585af6c 编写于 作者: C CyrusNajmabadi

Move to IColllection<T>

上级 5f785131
......@@ -256,7 +256,7 @@ public SyntaxTriviaList InsertRange(int index, IEnumerable<SyntaxTrivia> trivia)
}
// Just return ourselves if we're not being asked to add anything.
var triviaCollection = trivia as ICollection;
var triviaCollection = trivia as ICollection<SyntaxTrivia>;
if (triviaCollection != null && triviaCollection.Count == 0)
{
return this;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册