From e314c74ba9bf8d636bc044e7a83f9e5f2262cd63 Mon Sep 17 00:00:00 2001 From: Jared Parsons Date: Fri, 3 Jan 2020 13:13:31 -0800 Subject: [PATCH] PR feedback --- .../Portable/Syntax/SyntaxList.SeparatedWithManyChildren.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Compilers/Core/Portable/Syntax/SyntaxList.SeparatedWithManyChildren.cs b/src/Compilers/Core/Portable/Syntax/SyntaxList.SeparatedWithManyChildren.cs index d79fd10df9b..697fd457568 100644 --- a/src/Compilers/Core/Portable/Syntax/SyntaxList.SeparatedWithManyChildren.cs +++ b/src/Compilers/Core/Portable/Syntax/SyntaxList.SeparatedWithManyChildren.cs @@ -10,12 +10,12 @@ internal partial class SyntaxList { internal class SeparatedWithManyChildren : SyntaxList { - private readonly ArrayElement[] _children; + private readonly ArrayElement[] _children; internal SeparatedWithManyChildren(InternalSyntax.SyntaxList green, SyntaxNode? parent, int position) : base(green, parent, position) { - _children = new ArrayElement[(green.SlotCount + 1) >> 1]; + _children = new ArrayElement[(green.SlotCount + 1) >> 1]; } internal override SyntaxNode? GetNodeSlot(int i) @@ -26,7 +26,7 @@ internal SeparatedWithManyChildren(InternalSyntax.SyntaxList green, SyntaxNode? return null; } - return this.GetRedElement(ref _children[i >> 1].Value!, i); + return this.GetRedElement(ref _children[i >> 1].Value, i); } internal override SyntaxNode? GetCachedSlot(int i) -- GitLab