示例#1
0
 public override void VisitPrimaryConstructorBody(PrimaryConstructorBodySyntax node)
 {
     VisitBlock(node.Body);
 }
            public override void VisitPrimaryConstructorBody(PrimaryConstructorBodySyntax node)
            {
                var saveCurrentScope = currentScope;
                currentScope = primaryConstructorInitializerScope;

                base.VisitPrimaryConstructorBody(node);

                Debug.Assert(currentScope == primaryConstructorInitializerScope);
                currentScope = saveCurrentScope;
            }
示例#3
0
 public override void VisitPrimaryConstructorBody(PrimaryConstructorBodySyntax node)
 {
     VisitBlock(node.Body);
 }