Example #1
0
 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());
     }
 }
Example #2
0
 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));
 }
Example #3
0
 internal virtual void VisitNoPiaObjectCreation(INoPiaObjectCreationOperation operation)
 {
     VisitNoneOperation(operation);
 }