public BlockTreeScan(ParseInfo parseInfo, BlockAction block, string objectName, DocRange genericErrorRange) { _parseInfo = parseInfo; _objectName = objectName; _genericErrorRange = genericErrorRange; Block = block; Returns = GetReturns(); ReturnsValue = Returns.Any(r => r.ReturningValue != null); }