public BlockStatement Process(DecompilationContext context, BlockStatement body) { NotSupportedUnaryOperatorFinder notSupportedUnaryOperatorFinder = new NotSupportedUnaryOperatorFinder(); notSupportedUnaryOperatorFinder.Visit(body); if (notSupportedUnaryOperatorFinder.IsAddressUnaryOperatorFound) { throw new ArgumentException(string.Format("The unary opperator {0} is not supported in VisualBasic", notSupportedUnaryOperatorFinder.FoundUnaryOperator)); } return(body); }
public BlockStatement Process(DecompilationContext context, BlockStatement body) { NotSupportedUnaryOperatorFinder notSupportedUnaryOperatorFinder = new NotSupportedUnaryOperatorFinder(); notSupportedUnaryOperatorFinder.Visit(body); if (notSupportedUnaryOperatorFinder.IsAddressUnaryOperatorFound) { throw new ArgumentException(string.Format("The unary opperator {0} is not supported in VisualBasic", notSupportedUnaryOperatorFinder.FoundUnaryOperator)); } return body; }