internal override void VisitNoPiaObjectCreation(INoPiaObjectCreationOperation operation) { Assert.Equal(OperationKind.None, operation.Kind); if (operation.Initializer == null) { Assert.Empty(operation.Children); } else { Assert.Same(operation.Initializer, operation.Children.Single()); } }
internal override IOperation VisitNoPiaObjectCreation(INoPiaObjectCreationOperation operation, object argument) { return(new NoPiaObjectCreationOperation(Visit(operation.Initializer), ((Operation)operation).SemanticModel, operation.Syntax, operation.Type, operation.ConstantValue, operation.IsImplicit)); }
internal virtual void VisitNoPiaObjectCreation(INoPiaObjectCreationOperation operation) { VisitNoneOperation(operation); }