Пример #1
0
            public override object VisitArraySpecifier(ICSharpCode.NRefactory.CSharp.ArraySpecifier arraySpecifier, object data)
            {
                if (arraySpecifier.Dimensions > 1)
                {
                    UnlockWith(arraySpecifier);
                }

                return(base.VisitArraySpecifier(arraySpecifier, data));
            }
Пример #2
0
            public override object VisitArraySpecifier(ICSharpCode.NRefactory.CSharp.ArraySpecifier arraySpecifier, object data)
            {
                if (lastArraySpecifierLine == arraySpecifier.StartLocation.Line && lastArraySpecifierColumn == arraySpecifier.StartLocation.Column - 2)
                {
                    UnlockWith(arraySpecifier);
                }

                lastArraySpecifierLine   = arraySpecifier.StartLocation.Line;
                lastArraySpecifierColumn = arraySpecifier.StartLocation.Column;
                return(base.VisitArraySpecifier(arraySpecifier, data));
            }